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)
Syntax
Public ReadOnly Property RequestUri As Uri
public Uri RequestUri { get; }
Property Value
Type: System..::.Uri
The target URI associated with the request.
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone