RequestUri Property

BackgroundTransferRequest.RequestUri Property

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

Gets the target URI associated with the request.

Namespace:  Microsoft.Phone.BackgroundTransfer
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public Uri RequestUri { get; }

Property Value

Type: System.Uri
The target URI associated with the request.

Set the target URI in the request constructor, BackgroundTransferEventArgs(BackgroundTransferRequest).

The background transfer service uses the OriginalString property of the Uri. For this reason, you should escape any special characters in the Uri using the Uri.EscapeUriString method if the Uri is not already escaped.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft