winrt::get_progress_token function (C++/WinRT)

In a coroutine, you can use the object returned by winrt::get_progress_token to report progress back to a progress handler. For more info, and a code example, see Reporting progress.

Syntax

inline winrt::get_progress_token_t get_progress_token() noexcept;

Requirements

Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

See also