Skip to main content
BackgroundExecutionManager.RemoveAccess() | removeAccess() method

Applies to Windows and Windows Phone

Removes the calling app from the lock screen's apps list.

Syntax


Windows.ApplicationModel.Background.BackgroundExecutionManager.removeAccess();

public static void RemoveAccess()

Public Shared Sub RemoveAccess()

public:
static void RemoveAccess()

Parameters

This method has no parameters.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

BackgroundExecutionManager
RemoveAccess(String)