DispatcherUnhandledExceptionFilterEventHandler Delegat

Definicja

Reprezentuje metodę, która będzie obsługiwać UnhandledExceptionFilter zdarzenie.

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)

Parametry

sender
Object

Źródło zdarzenia.

e
DispatcherUnhandledExceptionFilterEventArgs

Dane dotyczące zdarzenia.

Uwagi

Zdarzenie UnhandledExceptionFilter występuje, gdy kod wykonywany za pomocą Dispatcher metody zgłasza wyjątek, który nie jest obsługiwany.

Zdarzenie UnhandledExceptionFilter zapewnia sposób, aby nie zgłaszać UnhandledException zdarzenia. Zdarzenie UnhandledExceptionFilter jest zgłaszane jako pierwsze, a jeśli RequestCatch na obiekcie DispatcherUnhandledExceptionFilterEventArgs ustawiono wartość false, UnhandledException zdarzenie nie zostanie zgłoszone.

Metody rozszerzania

GetMethodInfo(Delegate)

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy

Zobacz też