Windows Dev Center

SuspendingOperation class

Provides info about an app suspending operation.

Syntax


var suspendingOperation = Windows.ApplicationModel.SuspendingEventArgs.suspendingOperation();

Members

The SuspendingOperation class has these types of members:

Methods

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

MethodDescription
GetDeferral Requests that the app suspending operation be delayed.

 

Properties

The SuspendingOperation class has these properties.

PropertyAccess typeDescription

Deadline

Read-onlyGets the time remaining before a delayed app suspending operation continues.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
ISuspendingOperation
SuspendingEventArgs.SuspendingOperation
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:
© 2015 Microsoft