Struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaitable<T>
- Namespace
- Microsoft.VisualStudio.Threading
- Assembly
- Microsoft.VisualStudio.Threading.dll
A Task awaitable that has affinity to executing callbacks synchronously on the completing callstack.
public readonly struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaitable<T>
Type Parameters
T
The type of value returned by the awaited Task.
- Inherited Members
Constructors
ExecuteContinuationSynchronouslyAwaitable(Task<T>)
Initializes a new instance of the AwaitExtensions.ExecuteContinuationSynchronouslyAwaitable<T> struct.
public ExecuteContinuationSynchronouslyAwaitable(Task<T> antecedent)
Parameters
antecedent
Task<T>The task whose completion will execute the continuation.
Methods
GetAwaiter()
Gets the awaiter.
public AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T> GetAwaiter()
Returns
- AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T>
The awaiter.