Indicates whether the common language runtime is terminating.
[Visual Basic]
Public ReadOnly Property IsTerminating As Boolean
[C#]
public bool IsTerminating {get;}
[C++]
public: __property bool get_IsTerminating();
[JScript]
public function get IsTerminating() : Boolean; Property Value
true if the runtime is terminating; otherwise, false.
Remarks
Note This property returns true when an exception is received in, but not handled by, an application's main thread. This property also returns true if an unmanaged thread is executing managed code and receives an unhandled exception. IsTerminating returns false for managed threads created by an application.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard
See Also
UnhandledExceptionEventArgs Class | UnhandledExceptionEventArgs Members | System Namespace