Windows Dev Center

BackgroundTransferRequest.Headers Property

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: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2015 Microsoft