Upraviť

Zdieľať cez


UnhandledExceptionEventArgs.IsTerminating Property

Definition

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.

Applies to