共用方式為


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

用來初始化 SoapServerMessageXmlTextWriter

bufferSize
Int32

用來初始化 XmlTextWriter 的緩衝區大小。

傳回

XmlWriter

XmlTextWriter,其使用由 message 指定的 SoapServerMessage 和由 bufferSize 指定的緩衝區大小來初始化。

適用於