Leggere in inglese

Condividi tramite


DispatcherUnhandledExceptionEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'evento UnhandledException.

C#
public delegate void DispatcherUnhandledExceptionEventHandler(object sender, DispatcherUnhandledExceptionEventArgs e);

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

Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Vedi anche