UnhandledExceptionEventHandler Délégué

Définition

Représente la méthode qui gère l’événement 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)

Paramètres

sender
Object

Source de l'événement.

e
UnhandledExceptionEventArgs

Objet UnhandledExceptionEventArgs qui contient les données d’événement.

Exemples

WindowsFormsApplicationBase.UnhandledException

Vue d’ensemble du modèle d’application Visual Basic

Remarques

Dans Visual Basic, vous n’avez pas besoin de travailler explicitement avec ce délégué. Pour plus d’informations, consultez UnhandledException.

Méthodes d’extension

Nom Description
GetMethodInfo(Delegate)

Obtient un objet qui représente la méthode représentée par le délégué spécifié.

S’applique à