UnhandledExceptionEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.Runtime.InteropServices.ComVisible(false)>]
type UnhandledExceptionEventArgs = class
inherit ThreadExceptionEventArgs
Public Class UnhandledExceptionEventArgs
Inherits ThreadExceptionEventArgs
- Inheritance
- 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) |
Initializes a new instance of the UnhandledExceptionEventArgs class. |
Properties
Exception |
Gets the Exception that occurred. (Inherited from ThreadExceptionEventArgs) |
ExitApplication |
Indicates whether the application should exit upon exiting the exception handler. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |