winrt::deferrable_event_args struct template (C++/WinRT)
A type that you can use to implement (produce) the deferrable event pattern. For more info, and code examples, see Deferrable events.
template<typename D> struct deferrable_event_args
The type of the event args of the deferrable event.
Minimum supported SDK: Currently in Windows SDK Insider Preview
Header: $(ProjectDir)Generated Files\winrt\Windows.Foundation.h
|deferrable_event_args::GetDeferral function||Called by the event recipient in order to retrieve a deferral.|
|deferrable_event_args::wait_for_deferrals function||Completes when all outstanding deferrals have completed (if no deferrals were taken, then it completes immediately).|
Called by the event recipient in order to retrieve a deferral. Doing so indicates to the event source that post-event activities should be postponed until Complete has been called on the deferral. This allows an event handler to perform asynchronous actions in response to an event.
A Windows::Foundation::Deferral object.
Completes when all outstanding deferrals have completed (if no deferrals were taken, then it completes immediately).
A Windows::Foundation::IAsyncAction object.
Submit and view feedback for