This topic has not yet been rated - Rate this topic

BackgroundTransferRequest.Headers Property

Windows Phone

March 22, 2012

Gets the dictionary of HTTP headers for the request.

Namespace:  Microsoft.Phone.BackgroundTransfer
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public IDictionary<string, string> Headers { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
The dictionary of HTTP headers for the request.

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

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)