.NET Framework Class Library |
TaskCanceledException..::.Task Property |
TaskCanceledException Class See Also Send Feedback |
Gets the task associated with this exception.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Remarks
It is permissible for no Task to be associated with a
TaskCanceledException, in which case
this property will return null.