DispatcherUnhandledExceptionEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'evento UnhandledException.

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)

Parametri

sender
Object

Origine dell'evento.

Commenti

L'evento UnhandledException si verifica quando il codice viene eseguito per mezzo di un'eccezione Dispatcher che non viene gestita.

L'evento UnhandledExceptionFilter fornisce un mezzo per non generare l'evento UnhandledException . L'evento UnhandledExceptionFilter viene generato per primo e Se RequestCatch in è impostato su false, l'evento DispatcherUnhandledExceptionFilterEventArgsUnhandledException non verrà generato.

Metodi di estensione

GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.

Si applica a

Vedi anche