INotifyCompletion.OnCompleted(Action) INotifyCompletion.OnCompleted(Action) INotifyCompletion.OnCompleted(Action) INotifyCompletion.OnCompleted(Action) Method

Definition

Schedules the continuation action that's invoked when the instance completes.

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

Parameters

continuation
Action Action Action Action

The action to invoke when the operation completes.

Exceptions

The continuation argument is null (Nothing in Visual Basic).

Applies to