Sync |
The SyncContextTaskCompletionSourceTResult type exposes the following members.
Name | Description | |
---|---|---|
SyncContextTaskCompletionSourceTResult | Initializes a new instance of the SyncContextTaskCompletionSourceTResult class |
Name | Description | |
---|---|---|
SyncContext | Captured Sync Context | |
Task | Gets the TaskTResult created by this TaskCompletionSourceTResult. (Inherited from TaskCompletionSourceTResult) |
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) | |
TrySetCanceled(CancellationToken) | Attempts to transition the underlying TaskTResult into the Canceled state and enables a cancellation token to be stored in the canceled task. (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) |