UnobservedTaskExceptionEventArgs(AggregateException) Constructor

Definition

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

public:
 UnobservedTaskExceptionEventArgs(AggregateException ^ exception);
public UnobservedTaskExceptionEventArgs (AggregateException exception);
public UnobservedTaskExceptionEventArgs (AggregateException? exception);
new System.Threading.Tasks.UnobservedTaskExceptionEventArgs : AggregateException -> System.Threading.Tasks.UnobservedTaskExceptionEventArgs
Public Sub New (exception As AggregateException)

Parameters

exception
AggregateException

The Exception that has gone unobserved.

Applies to

See also