System.Threading.Tasks.UnobservedTaskExceptionEventArgs.SetObserved Method

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

Syntax

public void SetObserved ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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