Partilhar via


Método IHttpBody.WriteHttpBody

Cria um fluxo que contém o corpo HTTP.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • bodyStream
    Tipo: System.IO.Stream
    O fluxo para adicionar o corpo do formulário post HTTP.

Segurança do .NET Framework

Consulte também

Referência

IHttpBody Interface

Namespace Microsoft.VisualStudio.TestTools.WebTesting