UnhandledExceptionEventArgs.IsTerminating Property

Indicates whether the common language runtime is terminating.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public bool IsTerminating { get; }

Property Value

Type: System.Boolean
true if the runtime is terminating; otherwise, false.

Important noteImportant Note:

Silverlight-based applications cannot use the AppDomain.UnhandledException event.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: