BinaryHttpBody.WriteHttpBody Method
Writes the binary data to the specified stream.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub WriteHttpBody ( _
request As WebTestRequest, _
bodyStream As Stream _
)
public void WriteHttpBody(
WebTestRequest request,
Stream bodyStream
)
public:
virtual void WriteHttpBody(
WebTestRequest^ request,
Stream^ bodyStream
) sealed
abstract WriteHttpBody :
request:WebTestRequest *
bodyStream:Stream -> unit
override WriteHttpBody :
request:WebTestRequest *
bodyStream:Stream -> unit
public final function WriteHttpBody(
request : WebTestRequest,
bodyStream : Stream
)
Parameters
request
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestHTTP request that is sent to a Web server.
bodyStream
Type: StreamSpecified stream.
Implements
IHttpBody.WriteHttpBody(WebTestRequest, Stream)
.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.