progress_reporter Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The progress reporter class allows reporting progress notifications of a specific type. Each progress_reporter object is bound to a particular asynchronous action or operation.

template<typename _ProgressType>
class progress_reporter;

Parameters

_ProgressType
The payload type of each progress notification reported through the progress reporter.

Public Constructors

NameDescription
progress_reporter::progress_reporter Constructor

Public Methods

NameDescription
progress_reporter::report MethodSends a progress report to the asynchronous action or operation to which this progress reporter is bound.

This type is only available to Windows Store apps.

progress_reporter

Header: ppltasks.h

Namespace: concurrency

progress_reporter();

Sends a progress report to the asynchronous action or operation to which this progress reporter is bound.

void report(const _ProgressType& val) const;

Parameters

val
The payload to report through a progress notification.

concurrency Namespace

Show: