Windows Dev Center

ISuspendingOperation.GetDeferral method

Requests that the app suspending operation be delayed.

Syntax


Function GetDeferral() As SuspendingDeferral

Parameters

This method has no parameters.

Return value

Type: SuspendingDeferral

The suspension deferral.

Remarks

App suspension is delayed until the app calls the ISuspendingDeferral.Complete method or the deadline for suspension has passed.

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

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

ISuspendingOperation

 

 

Show:
© 2015 Microsoft