ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(Action) ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(Action) ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(Action) ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(Action) Method

Definition

Schedules the continuation action for the task associated with this awaiter.

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 Action Action Action

The action to invoke when the await operation completes.

Implements

Exceptions

Remarks

This method is intended for compiler use; do not use it directly in your code.

Applies to