SuspendingOperation SuspendingOperation SuspendingOperation SuspendingOperation Class


Provides info about an app suspending operation.

public : sealed class SuspendingOperation : ISuspendingOperationpublic sealed class SuspendingOperation : ISuspendingOperationPublic NotInheritable Class SuspendingOperation Implements ISuspendingOperation// You can use this class in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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 DateTimeOffset// You can use this property in JavaScript.
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time remaining.


GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Requests that the app suspending operation be delayed.

public : SuspendingDeferral GetDeferral()public SuspendingDeferral GetDeferral()Public Function GetDeferral() As SuspendingDeferral// You can use this method in JavaScript.


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

See Also

See Also