DispatcherUnhandledExceptionEventHandler DispatcherUnhandledExceptionEventHandler DispatcherUnhandledExceptionEventHandler DispatcherUnhandledExceptionEventHandler Delegate

Definition

Represents the method that will handle the UnhandledException event.

public delegate void DispatcherUnhandledExceptionEventHandler(System::Object ^ sender, DispatcherUnhandledExceptionEventArgs ^ e);
public delegate void DispatcherUnhandledExceptionEventHandler(object sender, DispatcherUnhandledExceptionEventArgs e);
type DispatcherUnhandledExceptionEventHandler = delegate of obj * DispatcherUnhandledExceptionEventArgs -> unit
Public Delegate Sub DispatcherUnhandledExceptionEventHandler(sender As Object, e As DispatcherUnhandledExceptionEventArgs)

Parameters

sender
Object Object Object Object

The source of the event.

Inheritance
DispatcherUnhandledExceptionEventHandlerDispatcherUnhandledExceptionEventHandlerDispatcherUnhandledExceptionEventHandlerDispatcherUnhandledExceptionEventHandler

Remarks

The UnhandledException event occurs when code executing by way of the Dispatcher throws an exception which 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) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also