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.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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