Click or drag to resize

SyncContextTaskCompletionSourceTResult Class

Version 112.3.0
TaskCompletionSource that executes it's continuation on the captured SynchronizationContext. If SyncContext is null. then the current **executing** thread will be called. e.g. The thread that called TrySetResult(TResult) (or other Set/Try set methods).
Inheritance Hierarchy
SystemObject
  System.Threading.TasksTaskCompletionSourceTResult
    CefSharp.Internals.TasksSyncContextTaskCompletionSourceTResult

Namespace:  CefSharp.Internals.Tasks
Assembly:  CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
public class SyncContextTaskCompletionSource<TResult> : TaskCompletionSource<TResult>

Type Parameters

TResult
Result Type

The SyncContextTaskCompletionSourceTResult type exposes the following members.

Constructors
  NameDescription
Public methodSyncContextTaskCompletionSourceTResult
Initializes a new instance of the SyncContextTaskCompletionSourceTResult class
Top
Properties
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 (Inherited from TaskCompletionSourceTResult.)
Public methodSetException(Exception) (Inherited from TaskCompletionSourceTResult.)
Public methodSetException(IEnumerableException) (Inherited from TaskCompletionSourceTResult.)
Public methodSetResult (Inherited from TaskCompletionSourceTResult.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrySetCanceled (Inherited from TaskCompletionSourceTResult.)
Public methodTrySetException(Exception) (Inherited from TaskCompletionSourceTResult.)
Public methodTrySetException(IEnumerableException) (Inherited from TaskCompletionSourceTResult.)
Public methodTrySetResult (Inherited from TaskCompletionSourceTResult.)
Top
See Also