Partager via


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.

Syntax

template<typename _ProgressType>
class progress_reporter;

Parameters

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

Members

Public Constructors

Name Description
progress_reporter::progress_reporter Constructor

Public Methods

Name Description
progress_reporter::report Method Sends a progress report to the asynchronous action or operation to which this progress reporter is bound.

Remarks

This type is only available to Windows Store apps.

Inheritance Hierarchy

progress_reporter

Requirements

Header: ppltasks.h

Namespace: concurrency

progress_reporter::progress_reporter Constructor

progress_reporter();

progress_reporter::report Method

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.

See Also

concurrency Namespace