DataServiceRequestArgs.Headers Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the headers in the request message.
public:
property System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ Headers { System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.Dictionary<string,string> Headers { get; }
member this.Headers : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property Headers As Dictionary(Of String, String)
The headers in the request message.
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.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: