SoapHttpClientProtocol.GetWriterForMessage(SoapClientMessage, Int32) 方法

定义

返回用 XmlWriter 参数的 Stream 属性初始化的 SoapClientMessage

protected:
 virtual System::Xml::XmlWriter ^ GetWriterForMessage(System::Web::Services::Protocols::SoapClientMessage ^ message, int bufferSize);
protected virtual System.Xml.XmlWriter GetWriterForMessage (System.Web.Services.Protocols.SoapClientMessage message, int bufferSize);
abstract member GetWriterForMessage : System.Web.Services.Protocols.SoapClientMessage * int -> System.Xml.XmlWriter
override this.GetWriterForMessage : System.Web.Services.Protocols.SoapClientMessage * int -> System.Xml.XmlWriter
Protected Overridable Function GetWriterForMessage (message As SoapClientMessage, bufferSize As Integer) As XmlWriter

参数

message
SoapClientMessage

SoapClientMessage,提供 Stream 来初始化 XmlWriter

bufferSize
Int32

StreamWriter 使用的 XmlWriter 的初始缓冲区大小。

返回

message 参数的 XmlWriter 属性初始化的 Stream

适用于