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 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
'Usage
Dim instance As WebTestRequest
Dim value As IHttpBody
value = instance.Body
instance.Body = value
public IHttpBody Body { get; set; }
public:
property IHttpBody^ Body {
IHttpBody^ get ();
void set (IHttpBody^ value);
}
public function get Body () : IHttpBody
public 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.