UnobservedTaskExceptionEventArgs.SetObserved Method

July 28, 2014

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:
© 2014 Microsoft