BackgroundTransferRequest.Headers Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the dictionary of HTTP headers for the request.
Namespace: Microsoft.Phone.BackgroundTransfer
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public ReadOnly Property Headers As IDictionary(Of String, String)
public IDictionary<string, string> Headers { get; }
Property Value
Type: System.Collections.Generic..::.IDictionary<(Of <(String, String>)>)
The dictionary of HTTP headers for the request.
Remarks
The following headers are reserved for use by the system and cannot be used by calling applications. Adding one of the following headers to the Headers collection will cause a NotSupportedException to be thrown when the Add(BackgroundTransferRequest) method is used to queue the transfer request.
If-Modified-Since
If-None-Match
If-Range
Range
Unless-Modified-Since
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone