TaskCompletionSource<TResult> Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The TaskCompletionSource<TResult> type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetCanceled | Transitions the underlying Task<TResult> into the Canceled state. | |
SetException(IEnumerable<Exception>) | Transitions the underlying Task<TResult> into the Faulted state. | |
SetException(Exception) | Transitions the underlying Task<TResult> into the Faulted state. | |
SetResult | Transitions the underlying Task<TResult> into the RanToCompletion state. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrySetCanceled | Attempts to transition the underlying Task<TResult> into the Canceled state. | |
TrySetException(IEnumerable<Exception>) | Attempts to transition the underlying Task<TResult> into the Faulted state. | |
TrySetException(Exception) | Attempts to transition the underlying Task<TResult> into the Faulted state. | |
TrySetResult | Attempts to transition the underlying Task<TResult> into the RanToCompletion state. |
Top