Bewerken

Delen via


progress_reporter Class

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

Public Methods

Name Description
report 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 Runtime apps.

Inheritance Hierarchy

progress_reporter

Requirements

Header: ppltasks.h

Namespace: concurrency

progress_reporter

progress_reporter();

report

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