UnhandledExceptionEventHandler Delegado

Definición

Representa el método que controlará el My.Application.UnhandledException evento.

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 aplicación de Visual Basic

Comentarios

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

Métodos de extensión

Nombre Description
GetMethodInfo(Delegate)

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

Se aplica a