Requests that the app suspension operation be delayed.
This method has no parameters.
The suspension deferral.
App suspension is delayed until the app calls the SuspendingDeferral.complete method or the deadline for suspension has passed.
Use the deferral to complete asynchronous operations, such as saving data to a file, before the system suspends your app.
Note that requesting a deferral does not give your app more time to complete suspend, it simply allows you to complete asynchronous operations in the same amount of time that your app would normally get in the suspending event handler.
Minimum supported client
Minimum supported server
|Windows Server 2012|
- How to suspend an app
- App activated, resume, and suspend using the WRL sample