WebBrowserTask.Uri Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the URI to which the web browser application will navigate when it is launched.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.


Public Property Uri As Uri
public Uri Uri { get; set; }
<object Uri="Uri" .../>

Property Value

Type: System..::.Uri
Type: Uri.


This property supports only absolute URIs that use the HTTP or HTTPS protocol.

This method may throw one of the following exceptions.


The URI must be absolute and use either HTTP or HTTPS.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


WebBrowserTask Class

Microsoft.Phone.Tasks Namespace

Other Resources

Launchers and Choosers for Windows Phone 8

How to use the web browser task for Windows Phone 8