UnhandledExceptionEventArgs Class
Provides data for the My.Application.UnhandledException event.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
System::EventArgs
System.Threading::ThreadExceptionEventArgs
Microsoft.VisualBasic.ApplicationServices::UnhandledExceptionEventArgs
| Name | Description | |
|---|---|---|
![]() | UnhandledExceptionEventArgs(Boolean, Exception^) | Initializes a new instance of the UnhandledExceptionEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | Exception | Gets the Exception that occurred.(Inherited from ThreadExceptionEventArgs.) |
![]() | ExitApplication | Indicates whether the application should exit upon exiting the exception handler. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


