UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs Class

Definition

Provides data for the My.Application.UnhandledException event.

public ref class UnhandledExceptionEventArgs : System::Threading::ThreadExceptionEventArgs
[System.Runtime.InteropServices.ComVisible(false)]
public class UnhandledExceptionEventArgs : System.Threading.ThreadExceptionEventArgs
type UnhandledExceptionEventArgs = class
    inherit ThreadExceptionEventArgs
Public Class UnhandledExceptionEventArgs
Inherits ThreadExceptionEventArgs
Inheritance
UnhandledExceptionEventArgsUnhandledExceptionEventArgsUnhandledExceptionEventArgsUnhandledExceptionEventArgs
Attributes

Remarks

The UnhandledException event occurs when an unhandled exception occurs in an application that implements the Visual Basic Application Model. For more information, see Overview of the Visual Basic Application Model.

UnhandledExceptionEventArgs contains the Exception that occurred and indicates whether the application should exit upon exiting the exception handler.

Constructors

UnhandledExceptionEventArgs(Boolean, Exception) UnhandledExceptionEventArgs(Boolean, Exception) UnhandledExceptionEventArgs(Boolean, Exception) UnhandledExceptionEventArgs(Boolean, Exception)

Initializes a new instance of the UnhandledExceptionEventArgs class.

Properties

Exception Exception Exception Exception

Gets the Exception that occurred.

(Inherited from ThreadExceptionEventArgs)
ExitApplication ExitApplication ExitApplication ExitApplication

Indicates whether the application should exit upon exiting the exception handler.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also