DispatcherUnhandledExceptionFilterEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the method that will handle the UnhandledExceptionFilter event.
public delegate void DispatcherUnhandledExceptionFilterEventHandler(System::Object ^ sender, DispatcherUnhandledExceptionFilterEventArgs ^ e);
public delegate void DispatcherUnhandledExceptionFilterEventHandler(object sender, DispatcherUnhandledExceptionFilterEventArgs e);
type DispatcherUnhandledExceptionFilterEventHandler = delegate of obj * DispatcherUnhandledExceptionFilterEventArgs -> unit
Public Delegate Sub DispatcherUnhandledExceptionFilterEventHandler(sender As Object, e As DispatcherUnhandledExceptionFilterEventArgs)
Parameters
- sender
- Object
The source of the event.
The event data.
Remarks
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.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |