YieldAwaitable.YieldAwaiter.UnsafeOnCompleted(Action) Method

Definition

Posts the continuation back to the current context.

public:
 virtual void UnsafeOnCompleted(Action ^ continuation);
[System.Security.SecurityCritical]
public void UnsafeOnCompleted (Action continuation);
abstract member UnsafeOnCompleted : Action -> unit
override this.UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)

Parameters

continuation
Action

The action to invoke asynchronously.

Implements

Attributes

Exceptions

The continuation argument is null.

Applies to