Export (0) Print
Expand All

UnhandledExceptionEventArgs.ExitApplication Property

Note: This property is new in the .NET Framework version 2.0.

Indicates whether the application should exit upon exiting the exception handler.

Namespace: Microsoft.VisualBasic.ApplicationServices
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public bool ExitApplication { get; set; }
/** @property */
public boolean get_ExitApplication ()

/** @property */
public void set_ExitApplication (boolean value)

public function get ExitApplication () : boolean

public function set ExitApplication (value : boolean)

Property Value

A Boolean that indicates whether the application should exit upon exiting the exception handler.

The Visual Basic Application Model checks the value of this property after running the handlers of the My.Application.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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft