Επεξεργασία

Κοινή χρήση μέσω


UnhandledExceptionEventHandler Delegate

Definition

Represents the method that will handle the My.Application.UnhandledException event.

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)

Parameters

sender
Object

The source of the event.

e
UnhandledExceptionEventArgs

A UnhandledExceptionEventArgs object that contains the event data.

Examples

WindowsFormsApplicationBase.UnhandledException

Overview of the Visual Basic Application Model

Remarks

In Visual Basic, you do not need to work with this delegate explicitly. For more information, see UnhandledException.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to