DispatcherUnhandledExceptionFilterEventHandler Delegate
Represents the method that will handle the UnhandledExceptionFilter event.
Assembly: WindowsBase (in WindowsBase.dll)
Public Delegate Sub DispatcherUnhandledExceptionFilterEventHandler ( sender As Object, e As DispatcherUnhandledExceptionFilterEventArgs )
Parameters
- sender
-
Type:
System.Object
The source of the event.
- e
-
Type:
System.Windows.Threading.DispatcherUnhandledExceptionFilterEventArgs
The event data.
The UnhandledExceptionFilter event occurs when code executing by way of the Dispatcher throws an exception that is not handled.
The UnhandledExceptionFilter event provides a means to not raise the UnhandledException event. The UnhandledExceptionFilter event is raised first, and If RequestCatch on the DispatcherUnhandledExceptionFilterEventArgs is set to false, the UnhandledException event will not be raised.
Available since 3.0