ProgressWithCompletion<T>.WaitAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.