MimeParameterWriter.WriteRequest(Stream, Object[]) 方法

定义

在派生类中重写时,将 Web 方法的参数值序列化到表示传出 HTTP 请求正文的流中。When overridden in a derived class, serializes Web method parameter values into a stream representing the outgoing HTTP request body.

public:
 virtual void WriteRequest(System::IO::Stream ^ requestStream, cli::array <System::Object ^> ^ values);
public virtual void WriteRequest (System.IO.Stream requestStream, object[] values);
abstract member WriteRequest : System.IO.Stream * obj[] -> unit
override this.WriteRequest : System.IO.Stream * obj[] -> unit
Public Overridable Sub WriteRequest (requestStream As Stream, values As Object())

参数

requestStream
Stream

传出 HTTP 请求的正文的输入流。An input stream for the outgoing HTTP request's body.

values
Object[]

Web 方法的参数值。The Web method parameter values.

注解

派生自的类 MimeParameterWriterHtmlFormParameterWriter 实现 WriteRequest 方法。Of the classes derived from MimeParameterWriter, only HtmlFormParameterWriter implements the WriteRequest method.

适用于