This documentation is archived and is not being maintained.

UnhandledExceptionEventHandler Delegate

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

Namespace: Microsoft.VisualBasic.ApplicationServices
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

Public Delegate Sub UnhandledExceptionEventHandler ( _
	sender As Object, _
	e As UnhandledExceptionEventArgs _
Dim instance As New UnhandledExceptionEventHandler(AddressOf HandlerMethod)
/** @delegate */
public delegate void UnhandledExceptionEventHandler (
	Object sender, 
	UnhandledExceptionEventArgs e
Not applicable.



The source of the event.


A UnhandledExceptionEventArgs object that contains the event data.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0