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.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
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