Partager via


AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter Struct

Definition

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

public struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter : System.Runtime.CompilerServices.INotifyCompletion
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter : System.Runtime.CompilerServices.INotifyCompletion
type AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter = struct
    interface INotifyCompletion
[<System.Runtime.CompilerServices.IsReadOnly>]
type AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter = struct
    interface INotifyCompletion
Public Structure AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter
Implements INotifyCompletion
Inheritance
AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter
Attributes
Implements

Constructors

AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter(Task)

Initializes a new instance of the AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter 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