SetObserved Method
Collapse the table of content
Expand the table of content

UnobservedTaskExceptionEventArgs.SetObserved Method

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

Marks the Exception as "observed," thus preventing it from triggering exception escalation policy which, by default, terminates the process.

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

public void SetObserved()

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft