UnhandledExceptionEventArgs(Boolean, Exception) Constructor
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.
Initializes a new instance of the UnhandledExceptionEventArgs class.
public:
UnhandledExceptionEventArgs(bool exitApplication, Exception ^ exception);
public UnhandledExceptionEventArgs (bool exitApplication, Exception exception);
new Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs : bool * Exception -> Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs
Public Sub New (exitApplication As Boolean, exception As Exception)
Parameters
- exitApplication
- Boolean
A Boolean that indicates whether the application should exit upon exiting the exception handler.
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor