UnhandledExceptionEventHandler Delegát

Definice

Představuje metodu, která bude zpracovávat My.Application.UnhandledException událost.

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)

Parametry

sender
Object

Zdroj události

e
UnhandledExceptionEventArgs

Objekt UnhandledExceptionEventArgs , který obsahuje data události.

Příklady

WindowsFormsApplicationBase.UnhandledException

Přehled aplikačního modelu jazyka Visual Basic

Poznámky

V Visual Basic nemusíte s tímto delegátem pracovat explicitně. Další informace najdete na webu UnhandledException.

Metody rozšíření

Name Description
GetMethodInfo(Delegate)

Získá objekt, který představuje metodu reprezentovanou zadaným delegátem.

Platí pro