Gemstone Common Library
Show/Hide TOC

# LibraryEventsDisableUnobservedTaskExceptionHandling Method

Disables automatic handling of UnobservedTaskException events. When disabled, any unobserved task exceptions encountered will not be marked as observed nor exposed via the SuppressedException event.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
C#
View Source Request Example

    public static void DisableUnobservedTaskExceptionHandling()

VB
View Source Request Example

    Public Shared Sub DisableUnobservedTaskExceptionHandling

C++
View Source Request Example

    public:
    static void DisableUnobservedTaskExceptionHandling()

JavaScript
View Source Request Example

    Gemstone.LibraryEvents.DisableUnobservedTaskExceptionHandling = function();

## See Also

#### Reference

LibraryEvents Class
Gemstone Namespace