Share via


SuspendingDeferral Class

Definition

Manages delayed suspension for an app. GetDeferral

public ref class SuspendingDeferral sealed : ISuspendingDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class SuspendingDeferral final : ISuspendingDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class SuspendingDeferral : ISuspendingDeferral
Public NotInheritable Class SuspendingDeferral
Implements ISuspendingDeferral
Inheritance
Object Platform::Object IInspectable SuspendingDeferral
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Methods

Complete()

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

Applies to

See also