次の方法で共有


ProgressWithCompletion<T>.WaitAsync Method

Definition

Overloads

WaitAsync()

Returns a task that completes when all reported progress has executed.

WaitAsync(CancellationToken)

Returns a task that completes when all reported progress has executed.

WaitAsync()

Returns a task that completes when all reported progress has executed.

public:
 System::Threading::Tasks::Task ^ WaitAsync();
public System.Threading.Tasks.Task WaitAsync ();
member this.WaitAsync : unit -> System.Threading.Tasks.Task
Public Function WaitAsync () As Task

Returns

A task that completes when all progress is complete.

Applies to

WaitAsync(CancellationToken)

Returns a task that completes when all reported progress has executed.

public:
 System::Threading::Tasks::Task ^ WaitAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task WaitAsync (System.Threading.CancellationToken cancellationToken);
member this.WaitAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WaitAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that completes when all progress is complete.

Applies to