SyncContextTaskCompletionSourceTResult Methods |
The SyncContextTaskCompletionSourceTResult 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 TaskTResult into the Canceled state. (Inherited from TaskCompletionSourceTResult.) |
![]() | SetException(Exception) | Transitions the underlying TaskTResult into the Faulted state and binds it to a specified exception. (Inherited from TaskCompletionSourceTResult.) |
![]() | SetException(IEnumerableException) | Transitions the underlying TaskTResult into the Faulted state and binds a collection of exception objects to it. (Inherited from TaskCompletionSourceTResult.) |
![]() | SetResult | Transitions the underlying TaskTResult into the RanToCompletion state. (Inherited from TaskCompletionSourceTResult.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TrySetCanceled | Attempts to transition the underlying TaskTResult into the Canceled state. (Inherited from TaskCompletionSourceTResult.) |
![]() | TrySetException(Exception) | Attempts to transition the underlying TaskTResult into the Faulted state and binds it to a specified exception. (Inherited from TaskCompletionSourceTResult.) |
![]() | TrySetException(IEnumerableException) | Attempts to transition the underlying TaskTResult into the Faulted state and binds a collection of exception objects to it. (Inherited from TaskCompletionSourceTResult.) |
![]() | TrySetResult | Attempts to transition the underlying TaskTResult into the RanToCompletion state. (Inherited from TaskCompletionSourceTResult.) |