TaskCompletionSource(TResult) Methods
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| TaskCompletionSource<(Of <(TResult>)>) Methods |
| TaskCompletionSource<(Of <(TResult>)>) Class See Also Send Feedback |
The TaskCompletionSource<(Of <(TResult>)>) type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| SetCanceled |
Transitions the underlying
Task<(Of <(TResult>)>) into the
Canceled
state.
| |
| SetException | Overloaded. | |
| SetResult |
Transitions the underlying
Task<(Of <(TResult>)>) into the
RanToCompletion
state.
| |
| ToString | (Inherited from Object.) | |
| TrySetCanceled |
Attempts to transition the underlying
Task<(Of <(TResult>)>) into the
Canceled
state.
| |
| TrySetException | Overloaded. | |
| TrySetResult |
Attempts to transition the underlying
Task<(Of <(TResult>)>) into the
RanToCompletion
state.
|