Bridge

Task..::..Exception Property

Gets the AggregateException that caused the Task to end prematurely. If the Task completed successfully or has not yet thrown any exceptions, this will return null.

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

Syntax


[FieldPropertyAttribute]
public AggregateException Exception { get; }
<FieldPropertyAttribute> _
Public ReadOnly Property Exception As AggregateException
	Get
[FieldPropertyAttribute]
public:
property AggregateException^ Exception {
	AggregateException^ get ();
}

Return Value

The AggregateException that caused the Task to end prematurely.