System.Threading.Tasks.UnobservedTaskExceptionEventArgs Members

The members of System.Threading.Tasks.UnobservedTaskExceptionEventArgs are listed below.

See Also: Inherited members from System.EventArgs

Public Constructors

Initializes a new instance of the System.Threading.Tasks.UnobservedTaskExceptionEventArgs class with the unobserved exception.

Public Properties

[read-only]
ExceptionAggregateException.

The Exception that went unobserved.

[read-only]
Observedbool.

Gets whether this exception has been marked as "observed."

Public Methods

SetObserved()

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