UnhandledExceptionEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'evento My.Application.UnhandledException .

public delegate void UnhandledExceptionEventHandler(System::Object ^ sender, UnhandledExceptionEventArgs ^ e);
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
type UnhandledExceptionEventHandler = delegate of obj * UnhandledExceptionEventArgs -> unit
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

Parametri

sender
Object

La fonte dell'evento.

e
UnhandledExceptionEventArgs

Oggetto UnhandledExceptionEventArgs che contiene i dati dell'evento.

Esempio

WindowsFormsApplicationBase.UnhandledException

Panoramica del modello di applicazione Visual Basic

Commenti

In Visual Basic non è necessario usare questo delegato in modo esplicito. Per altre informazioni, vedere UnhandledException.

Metodi di estensione

Nome Descrizione
GetMethodInfo(Delegate)

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

Si applica a