Partager via


AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter<T>.OnCompleted Method

Definition

Schedules a callback to run when the antecedent task completes.

public:
 virtual void OnCompleted(Action ^ continuation);
public void OnCompleted (Action continuation);
abstract member OnCompleted : Action -> unit
override this.OnCompleted : Action -> unit
Public Sub OnCompleted (continuation As Action)

Parameters

continuation
Action

The callback to invoke.

Implements

Applies to