Complete | complete method
Collapse the table of content
Expand the table of content

SuspendingDeferral.Complete | complete method

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

Syntax


suspendingDeferral.complete();

Parameters

This method has no parameters.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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

SuspendingDeferral
UX guidelines for launch, suspend, and resume
For C#/C++/XAML
SuspendingEventArgs
SuspendingOperation
SuspendingOperation.GetDeferral
Handle app suspend
For Javascript
suspendingEventArgs
suspendingOperation
suspendingOperation.getDeferral
App lifecycle

 

 

Show:
© 2016 Microsoft