DataServiceRequestArgs.Headers Property
Definition
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)
Property Value
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.