共用方式為


SoapServerProtocol.GetReaderForMessage(SoapServerMessage, Int32) 方法

定義

傳回以指定的 XmlTextReader 和緩衝區大小初始化的 SoapServerMessage

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

參數

message
SoapServerMessage

用來初始化 SoapServerMessageXmlTextReader

bufferSize
Int32

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

傳回

XmlReader

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

適用於