SuspendingDeferral class

Applies to Windows and Windows Phone

Manages a delayed app suspending operation.

Syntax


var suspendingDeferral = suspendingEventArgs.suspendingOperation.getDeferral();

Attributes

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

Members

The SuspendingDeferral class has these types of members:

Methods

The SuspendingDeferral class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

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

 

Requirements

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

Namespace

Windows.ApplicationModel
Windows::ApplicationModel [C++]

Metadata

Windows.winmd

See also

Guidelines for app suspend and resume
For C#/C++/XAML
SuspendingEventArgs
SuspendingOperation
SuspendingOperation.GetDeferral
How to suspend an app (XAML)
For Javascript
suspendingEventArgs
suspendingOperation
suspendingOperation.getDeferral
How to suspend an app (HTML)

 

 

Show:
© 2014 Microsoft