UnhandledExceptionEventArgs.ExitApplication Property
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.
Indicates whether the application should exit upon exiting the exception handler.
public:
property bool ExitApplication { bool get(); void set(bool value); };
public bool ExitApplication { get; set; }
member this.ExitApplication : bool with get, set
Public Property ExitApplication As Boolean
Property Value
A Boolean that indicates whether the application should exit upon exiting the exception handler.
Remarks
The Visual Basic Application Model checks the value of this property after running the handlers of the UnhandledException event. If ExitApplication is True
, then the application exits. Otherwise, the application continues to run. For more information, see Overview of the Visual Basic Application Model.