संपादित करें

इसके माध्यम से साझा किया गया


UnhandledExceptionEventArgs.ExitApplication Property

Definition

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.

Applies to

See also