WebTestRequest.Body Property
Gets or sets the body of this request.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Body As IHttpBody
public IHttpBody Body { get; set; }
public:
property IHttpBody^ Body {
IHttpBody^ get ();
void set (IHttpBody^ value);
}
member Body : IHttpBody with get, set
function get Body () : IHttpBody
function set Body (value : IHttpBody)
Property Value
Type: Microsoft.VisualStudio.TestTools.WebTesting.IHttpBody
An IHttpBody object.
Remarks
The body should be nulla null reference (Nothing in Visual Basic) for GET requests.
.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.