SignOutStartedEventArgs.GetDeferral Method

Delays a pending sign out operation for up to 30 seconds, in order to complete important operations like saving user state.

To defer sign out, call GetDeferral and store the returned SignOutDeferral object. Then, complete the operations that required the deferral. When those operations are complete, call the Complete method on the saved SignOutDeferral object.

Syntax

public:
SignOutDeferral^ GetDeferral()  

Return value

Type: SignOutDeferral 

Returns an object that reports the status of an attempt to defer signout.

Remarks

Note

This is a cross-OS call. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.Xbox.System

Metadata: windows.winmd

See also

Reference

SignOutStartedEventArgs Class

SignOutStartedEventArgs Members

Windows.Xbox.System Namespace