UnobservedTaskExceptionEventArgs.SetObserved Method

Definition

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

public:
 void SetObserved();
public void SetObserved ();
member this.SetObserved : unit -> unit
Public Sub SetObserved ()

Applies to

See also