Task Members
The Task type exposes the following members.
Methods
Properties
Name | Description | |
---|---|---|
![]() |
Exception |
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.
|
![]() |
IsCanceled |
Gets whether this Task instance has completed execution due to being canceled.
|
![]() |
IsCompleted |
Gets whether this Task has completed.
|
![]() |
IsFaulted |
Gets whether the Task completed due to an unhandled exception.
|
![]() |
Status |
Gets the TaskStatus of this task.
|