SyncContextTaskCompletionSource<TResult> Methods |
The SyncContextTaskCompletionSource<TResult> generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | 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 it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (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. (Inherited from TaskCompletionSource<TResult>.) |
![]() | SetException(Exception) | Transitions the underlying Task<TResult> into the Faulted state and binds it to a specified exception. (Inherited from TaskCompletionSource<TResult>.) |
![]() | SetException(IEnumerable<Exception>) | Transitions the underlying Task<TResult> into the Faulted state and binds a collection of exception objects to it. (Inherited from TaskCompletionSource<TResult>.) |
![]() | SetResult | Transitions the underlying Task<TResult> into the RanToCompletion state. (Inherited from TaskCompletionSource<TResult>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TrySetCanceled | Attempts to transition the underlying Task<TResult> into the Canceled state. (Inherited from TaskCompletionSource<TResult>.) |
![]() | TrySetException(Exception) | Attempts to transition the underlying Task<TResult> into the Faulted state and binds it to a specified exception. (Inherited from TaskCompletionSource<TResult>.) |
![]() | TrySetException(IEnumerable<Exception>) | Attempts to transition the underlying Task<TResult> into the Faulted state and binds a collection of exception objects to it. (Inherited from TaskCompletionSource<TResult>.) |
![]() | TrySetResult | Attempts to transition the underlying Task<TResult> into the RanToCompletion state. (Inherited from TaskCompletionSource<TResult>.) |