SuspendingOperation SuspendingOperation SuspendingOperation SuspendingOperation Class

Provides info about an app suspending operation.

Syntax

Declaration

public sealed class SuspendingOperationpublic sealed class SuspendingOperationPublic NotInheritable Class SuspendingOperationpublic sealed class SuspendingOperation

Properties summary

Gets the time remaining before a delayed app suspending operation continues.

Methods summary

Requests that the app suspending operation be delayed.

Properties

  • Deadline
    Deadline
    Deadline
    Deadline

    Gets the time remaining before a delayed app suspending operation continues.

    public DateTime Deadline { get; }public DateTimeOffset Deadline { get; }Public ReadOnly Property Deadline As DateTimeOffsetpublic DateTime Deadline { get; }

    Property Value

Methods

  • GetDeferral()
    GetDeferral()
    GetDeferral()
    GetDeferral()

    Requests that the app suspending operation be delayed.

    public SuspendingDeferral GetDeferral()public SuspendingDeferral GetDeferral()Public Function GetDeferral() As SuspendingDeferralpublic SuspendingDeferral GetDeferral()

    Returns

    Remarks

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.MuseAttribute

Details

Assembly

Windows.ApplicationModel.dll