UnobservedTaskExceptionEventArgs Constructor

Task Parallel System.Threading

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

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	exception As AggregateException _
)
C#
public UnobservedTaskExceptionEventArgs(
	AggregateException exception
)

Parameters

exception
Type: System..::.AggregateException
The Exception that has gone unobserved.

See Also