WebTestResponse.BodyBytes Property
Gets the raw bytes of the HTTP response body.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property BodyBytes As Byte()
'Usage
Dim instance As WebTestResponse
Dim value As Byte()
value = instance.BodyBytes
public byte[] BodyBytes { get; }
public:
property array<unsigned char>^ BodyBytes {
array<unsigned char>^ get ();
}
public function get BodyBytes () : byte[]
Property Value
Type: array<System.Byte[]
A byte array representing the HTTP response body.
Remarks
The headers are not included in BodyBytes.
.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.