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 Property BodyBytes As Byte()
public byte[] BodyBytes { get; set; }
public:
property array<unsigned char>^ BodyBytes {
array<unsigned char>^ get ();
void set (array<unsigned char>^ value);
}
member BodyBytes : byte[] with get, set
function get BodyBytes () : byte[]
function set BodyBytes (value : byte[])
Property Value
Type: array<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.