The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WebTestResponse::Headers Property
Gets the headers associated with the response from the server.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: property WebHeaderCollection^ Headers { WebHeaderCollection^ get(); internal: void set(WebHeaderCollection^ value); }
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has been disposed. |
The Headers property is a collection of name/value pairs that contains the HTTP header values returned with the response. Common header information returned from the Internet resource is exposed as properties of the WebTestResponse class. The following table lists common headers that the API exposes as properties.
Header | Property |
|---|---|
Content-Encoding | |
Content-Length | |
Content-Type | |
Last-Modified | |
Server |
Show: