BackgroundExecutionManager.RemoveAccess | removeAccess methods

Applies to Windows and Windows Phone

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

Overload list

MethodDescription
RemoveAccess() Removes the calling app from the lock screen's apps list.
RemoveAccess(String) Removes a specific app from the lock screen's apps list.

Examples

The following example code demonstrates the use of this method.


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

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

 

 

Show:
© 2014 Microsoft