BackgroundExecutionManager.RequestAccessAsync() | requestAccessAsync() method

0 out of 1 rated this helpful - Rate this topic

Presents the user with a dialog box that requests that the calling app be added to the lock screen.

Syntax


Windows.ApplicationModel.Background.BackgroundExecutionManager.requestAccessAsync().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<BackgroundAccessStatus>

The object, bound to the calling app, that is used to request that the app be added to the lock screen's apps list. When the operation completes, it returns a member of the BackgroundAccessStatus enumeration that specifies the outcome.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

BackgroundExecutionManager
RequestAccessAsync(String)

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.