UnhandledExceptionEventArgs.IsTerminating 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.
Gets a value that indicates whether the common language runtime is terminating.
public:
property bool IsTerminating { bool get(); };
public bool IsTerminating { get; }
member this.IsTerminating : bool
Public ReadOnly Property IsTerminating As Boolean
Property Value
true
if the runtime is terminating; otherwise, false
.
Remarks
This property returns true
for most unhandled exceptions. The reason is that most unhandled exceptions in threads, including thread pool threads, are allowed to proceed naturally, which normally results in termination of the application. For more information, including a list of cases in which the runtime does not terminate, see Exceptions in Managed Threads.