LibraryEventsEnableUnobservedTaskExceptionHandling Method

Enables automatic handling of UnobservedTaskException events. When enabled, any unobserved task exceptions encountered are marked as observed and exposed via the SuppressedException event.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
public static void EnableUnobservedTaskExceptionHandling()

Remarks

This functionality is enabled by default. This method would only ever need to be called to re-enable unobserved task exception handling after being disabled by a call to DisableUnobservedTaskExceptionHandling.

See Also