ProgressWithCompletion<T> Class

Definition

An incremental progress reporting mechanism that also allows asynchronous awaiting for all reports to be processed.

C++
generic <typename T>
public ref class ProgressWithCompletion : IProgress<T>

Type Parameters

T

The type of message sent in progress updates.

Inheritance
ProgressWithCompletion<T>
Implements

Constructors

Methods

Report(T)

Receives a progress update.

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.

Explicit Interface Implementations

IProgress<T>.Report(T)

Receives a progress update.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022

Thread Safety

This type is thread-safe for all members.