ISuspendingOperation ISuspendingOperation ISuspendingOperation ISuspendingOperation ISuspendingOperation Interface


Provides information about an app suspending operation.

public : interface ISuspendingOperation
struct winrt::Windows::ApplicationModel::ISuspendingOperation
public interface ISuspendingOperation
Public Interface ISuspendingOperation
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Deadline Deadline Deadline Deadline Deadline

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

public : DateTime Deadline { get; }
DateTime Deadline();
public DateTimeOffset Deadline { get; }
Public ReadOnly Property Deadline As DateTimeOffset
var dateTimeOffset = iSuspendingOperation.deadline;
DateTimeOffset DateTimeOffset DateTimeOffset

The time remaining.


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

Requests that the app suspending operation be delayed.

public : SuspendingDeferral GetDeferral()
SuspendingDeferral GetDeferral() const;
public SuspendingDeferral GetDeferral()
Public Function GetDeferral() As SuspendingDeferral
var suspendingDeferral = iSuspendingOperation.getDeferral();


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

See Also