Editare

Partajați prin


DispatcherUnhandledExceptionFilterEventHandler Delegate

Definition

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.

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.

Applies to

See also