UnhandledExceptionEventHandler Delegado

Definición

Representa el método que controlará el 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)

Parámetros

sender
Object

Origen del evento.

e
UnhandledExceptionEventArgs

Objeto UnhandledExceptionEventArgs que contiene los datos del evento.

Ejemplos

WindowsFormsApplicationBase.UnhandledException

Información general sobre el modelo de aplicaciones de Visual Basic

Comentarios

En Visual Basic, no es necesario trabajar explícitamente con este delegado. Para obtener más información, vea UnhandledException.

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.

Se aplica a