Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LockScreen.GetImageUri method

Applies to Windows Phone only

Gets the Uniform Resource Identifier (URI) of the current lock screen background.

Syntax


public static Uri GetImageUri()

Parameters

This method has no parameters.

Return value

Type: System.Uri [.NET] | Windows::Foundation::Uri [C++]

The Uniform Resource Identifier (URI) of the current lock screen background.

Remarks

This method can be called while the app runs in the foreground or from a background agent.

Note  

If the lock screen background was previously set by a different app and you call GetImageUri, an UnauthorizedException will be thrown.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.System.UserProfile
Windows::Phone::System::UserProfile [C++]

Metadata

Windows.WinMD

See also

LockScreen

 

 

Community Additions

Show:
© 2014 Microsoft