Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the method that is used to encode the body of the response.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property ContentEncoding As String
public string ContentEncoding { get; internal set; }
public:
property String^ ContentEncoding {
String^ get ();
internal: void set (String^ value);
}
member ContentEncoding : string with get, internal set
function get ContentEncoding () : String
internal function set ContentEncoding (value : String)
Property Value
Type: System.String
A string describing the method that is used to encode the body of the response.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The current instance has been disposed. |
Remarks
The ContentEncoding property contains the value of the Content-Encoding header returned with the response.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace