This documentation is archived and is not being maintained.
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 Uri Uri { get; set; }
This property supports only absolute URIs that use the HTTP or HTTPS protocol.
This method may throw one of the following exceptions.
ArgumentOutOfRangeException | The URI must be absolute and use either HTTP or HTTPS. |
Windows Phone OS
Supported in: 8.1, 8.0, 7.1