public static event EventHandler<UnhandledExceptionEventArgs> SuppressedException
Public Shared Event SuppressedException As EventHandler(Of UnhandledExceptionEventArgs)
public:
static event EventHandler<UnhandledExceptionEventArgs^>^ SuppressedException {
void add (EventHandler<UnhandledExceptionEventArgs^>^ value);
void remove (EventHandler<UnhandledExceptionEventArgs^>^ value);
}
function add_SuppressedException(value);
function remove_SuppressedException(value);
End users should attach to this event so that suppressed exceptions can be exposed to a log.
The LibraryEvents class automatically attaches to the UnobservedTaskException event so that
any unobserved task exceptions encountered will be marked as observed and exposed via the SuppressedException event.
To disable this feature and only use custom UnobservedTaskException event handling, call the
DisableUnobservedTaskExceptionHandling method during program initialization.
Gemstone libraries only raise this event, no library functions attach to this end user-only event.