ISuspendingOperation::GetDeferral method

Requests that the app suspending operation be delayed.

Syntax

HRESULT GetDeferral(
  [out, retval] ISuspendingDeferral **deferral
);

Parameters

deferral [out, retval]

The deferral suspension.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Header
Windows.ApplicationModel.h
IDL
Windows.ApplicationModel.idl

See also

ISuspendingOperation