IsTerminating Property
Collapse the table of content
Expand the table of content

UnhandledExceptionEventArgs.IsTerminating Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:

Windows Phone-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,

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft