Freigeben über


DataServiceRequestArgs.Headers Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the headers in the request message.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Headers As Dictionary(Of String, String)
public Dictionary<string, string> Headers { get; }

Property Value

Type: System.Collections.Generic.Dictionary<String, String>
The headers in the request message.

Remarks

The response is a Dictionary<TKey, TValue> object that contains key-value pairs of strings for each header in the request.

No validation is performed on the headers in the Headers property. Therefore, make sure that you do not change an HTTP header in a way that changes the meaning of the request.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.