UnhandledExceptionEventHandler UnhandledExceptionEventHandler UnhandledExceptionEventHandler 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

The source of the event.

e

A UnhandledExceptionEventArgs object that contains the event data.

Inheritance
UnhandledExceptionEventHandlerUnhandledExceptionEventHandlerUnhandledExceptionEventHandlerUnhandledExceptionEventHandler

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.

Applies to