Export (0) Print
Expand All

StringHttpBody.WriteHttpBody Method

Creates a stream that contains the HTTP body.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public void WriteHttpBody(
	WebTestRequest request,
	Stream bodyStream
)

Parameters

request
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequest
Used to define the encoding of non-ASCII characters.
bodyStream
Type: System.IO.Stream
The stream to add the form post HTTP body.

Implements

IHttpBody.WriteHttpBody(WebTestRequest, Stream)

Community Additions

ADD
Show:
© 2015 Microsoft