progress_reporter 类

进程报告程序类允许报告特定类型的进程通知。 每个 progress_reporter 对象绑定到特定异步操作。

template<
   typename _ProgressType
>
class progress_reporter;

参数

  • _ProgressType
    通过进程报告程序报告的每个进程通知的负载类型。

成员

公共构造函数

名称

描述

progress_reporter::progress_reporter 构造函数

公共方法

名称

描述

progress_reporter::report 方法

将进程报表发送给异步操作或进程报告程序绑定的操作。

备注

此类型只能用于 Windows 应用商店应用程序。

继承层次结构

progress_reporter

要求

**标头:**ppltasks.h

**命名空间:**并发

请参见

参考

concurrency 命名空间

create_async 函数