







The Task type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | AsyncState |
Gets the state object supplied when the Task was created,
or null if none was supplied.
|
![]() | CreationOptions |
Gets the TaskCreationOptions used
to create this task.
|
![]() ![]() | CurrentId |
Returns the unique ID of the currently executing Task.
|
![]() | Exception | |
![]() ![]() | Factory |
Provides access to factory methods for creating Task and Task<(Of <(TResult>)>) instances.
|
![]() | Id |
Gets a unique ID for this Task instance.
|
![]() | 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.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IAsyncResult..::.AsyncWaitHandle |
Gets a WaitHandle that can be used to wait for the task to
complete.
|
![]() ![]() | IAsyncResult..::.CompletedSynchronously |
Gets an indication of whether the asynchronous operation completed synchronously.
|