Share via


IHttpBody.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)

Syntax

'Declaration
Sub WriteHttpBody ( _
    request As WebTestRequest, _
    bodyStream As Stream _
)
void WriteHttpBody(
    WebTestRequest request,
    Stream bodyStream
)
void WriteHttpBody(
    WebTestRequest^ request, 
    Stream^ bodyStream
)
abstract WriteHttpBody : 
        request:WebTestRequest * 
        bodyStream:Stream -> unit 
function WriteHttpBody(
    request : WebTestRequest, 
    bodyStream : Stream
)

Parameters

.NET Framework Security

See Also

Reference

IHttpBody Interface

Microsoft.VisualStudio.TestTools.WebTesting Namespace