ICriticalNotifyCompletion.UnsafeOnCompleted(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 UnsafeOnCompleted(Action ^ continuation);
[System.Security.SecurityCritical]
public void UnsafeOnCompleted (Action continuation);
public void UnsafeOnCompleted (Action continuation);
abstract member UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)

Parameters

continuation
Action

Action à appeler lorsque l'opération se termine.The action to invoke when the operation completes.

Attributes

Exceptions

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

Remarks

Contrairement à OnCompleted, UnsafeOnCompleted n’a pas besoin de propager les informations ExecutionContext.Unlike OnCompleted, UnsafeOnCompleted doesn't have to propagate ExecutionContext information.

Applies to

See also