DispatcherPriorityAwaiter.OnCompleted(Action) DispatcherPriorityAwaiter.OnCompleted(Action) DispatcherPriorityAwaiter.OnCompleted(Action) DispatcherPriorityAwaiter.OnCompleted(Action) Method

Définition

Définit l’action à effectuer quand l’objet DispatcherPriorityAwaiter cesse d’attendre que la tâche asynchrone se termine.Sets the action to perform when the DispatcherPriorityAwaiter object stops waiting for the asynchronous task to complete.

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)

Paramètres

continuation
Action Action Action Action

Action à effectuer quand l’opération d’attente se termine.The action to perform when the wait operation completes.

Implémente

S’applique à