SuspendingOperation.GetDeferral | getDeferral method

Applies to Windows and Windows Phone

Requests that the app suspending operation be delayed.

Syntax

Public 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 SuspendingDeferral.Complete method or the deadline for suspension has passed.

Requirements

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

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:
© 2014 Microsoft