SoapServerProtocol.GetWriterForMessage(SoapServerMessage, Int32) 方法

定义

返回用指定的 XmlTextWriter 和缓冲区大小初始化的 SoapServerMessage

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

参数

message
SoapServerMessage

初始化 SoapServerMessage 时所使用的 XmlTextWriter

bufferSize
Int32

要用来初始化 XmlTextWriter 的缓冲区大小。

返回

XmlWriter

用由 message 指定的 XmlTextWriter 和由 bufferSize 指定的缓冲区大小初始化的 SoapServerMessage

适用于