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

Definition

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)

Parameters

continuation
Action Action Action Action

The action to perform when the wait operation completes.

Implements

Applies to