SuspendingDeferral class

Manages delayed suspension for an app. GetDeferral

Syntax


var suspendingDeferral = Windows.UI.WebUI.SuspendingOperation.getDeferral();

Attributes

[MarshalingBehavior(Standard)]
[Version(0x06020000)]

Members

The SuspendingDeferral class has these types of members:

Methods

The SuspendingDeferral class has these methods.

MethodDescription
Complete Notifies the system that the app has saved its data and is ready to be suspended.

 

Remarks

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.WebUI

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.WebUI

Metadata

Windows.winmd

See also

Object
ISuspendingDeferral
Tasks
How to suspend an app
Reference
SuspendingOperation.getDeferral
Samples
App activated, resume, and suspend using the WRL sample

 

 

Show:
© 2015 Microsoft