INotifyCompletion.OnCompleted(Action) Method

Definition

Planifie l'action de continuation qui est appelée lorsque l'instance se termine.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 à appeler lorsque l'opération se termine.The action to invoke when the operation completes.

Exceptions

L'argument continuation est null (Nothing en Visual Basic).The continuation argument is null (Nothing in Visual Basic).

Applies to