Click or drag to resize

SyncContextTaskCompletionSourceTResult Methods

Version 85.3.121

The SyncContextTaskCompletionSourceTResult generic type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetCanceled
Transitions the underlying TaskTResult into the Canceled state.
(Inherited from TaskCompletionSourceTResult.)
Public methodSetException(Exception)
Transitions the underlying TaskTResult into the Faulted state.
(Inherited from TaskCompletionSourceTResult.)
Public methodSetException(IEnumerableException)
Transitions the underlying TaskTResult into the Faulted state.
(Inherited from TaskCompletionSourceTResult.)
Public methodSetResult
Transitions the underlying TaskTResult into the RanToCompletion state.
(Inherited from TaskCompletionSourceTResult.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrySetCanceled
Attempts to transition the underlying TaskTResult into the Canceled state.
(Inherited from TaskCompletionSourceTResult.)
Public methodTrySetException(Exception)
Attempts to transition the underlying TaskTResult into the Faulted state.
(Inherited from TaskCompletionSourceTResult.)
Public methodTrySetException(IEnumerableException)
Attempts to transition the underlying TaskTResult into the Faulted state.
(Inherited from TaskCompletionSourceTResult.)
Public methodTrySetResult
Attempts to transition the underlying TaskTResult into the RanToCompletion state.
(Inherited from TaskCompletionSourceTResult.)
Top
See Also