Share via


AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T> Struct

Definition

A Task awaiter that has affinity to executing callbacks synchronously on the completing callstack.

public struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T> : System.Runtime.CompilerServices.INotifyCompletion
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T> : System.Runtime.CompilerServices.INotifyCompletion
type AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<'T> = struct
    interface INotifyCompletion
[<System.Runtime.CompilerServices.IsReadOnly>]
type AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<'T> = struct
    interface INotifyCompletion
Public Structure AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter(Of T)
Implements INotifyCompletion

Type Parameters

T

The type of value returned by the awaited Task.

Inheritance
AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T>
Attributes
Implements

Constructors

AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T>(Task<T>)

Initializes a new instance of the AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T> struct.

Properties

IsCompleted

Gets a value indicating whether the antedent Task has already completed.

Methods

GetResult()

Rethrows any exception thrown by the antecedent.

OnCompleted(Action)

Schedules a callback to run when the antecedent task completes.

Applies to