DispatcherUnhandledExceptionEventArgs Classe

Definizione

Fornisce i dati per l'evento DispatcherUnhandledException .

public ref class DispatcherUnhandledExceptionEventArgs sealed : System::Windows::Threading::DispatcherEventArgs
public sealed class DispatcherUnhandledExceptionEventArgs : System.Windows.Threading.DispatcherEventArgs
type DispatcherUnhandledExceptionEventArgs = class
    inherit DispatcherEventArgs
Public NotInheritable Class DispatcherUnhandledExceptionEventArgs
Inherits DispatcherEventArgs
Ereditarietà
DispatcherUnhandledExceptionEventArgs

Commenti

L'evento UnhandledException si verifica quando il codice viene eseguito tramite genera 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 DispatcherUnhandledExceptionFilterEventArgs è impostato su false, l'evento UnhandledException non verrà generato.

Proprietà

Nome Descrizione
Dispatcher

Oggetto Dispatcher associato a questo evento.

(Ereditato da DispatcherEventArgs)
Exception

Ottiene l'eccezione generata durante l'esecuzione del codice tramite il dispatcher.

Handled

Ottiene o imposta un valore che indica se l'evento di eccezione è stato gestito.

Metodi

Nome Descrizione
Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.

(Ereditato da Object)
GetHashCode()

Funge da funzione hash predefinita.

(Ereditato da Object)
GetType()

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
MemberwiseClone()

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a

Vedi anche