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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro