共用方式為


SoapHttpClientProtocol.GetReaderForMessage(SoapClientMessage, Int32) 方法

定義

傳回 XmlReader,它是使用 Stream 參數的 SoapClientMessage 屬性初始化。

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

參數

message
SoapClientMessage

SoapClientMessage,提供 Stream,以初始化 XmlReader

bufferSize
Int32

StreamReader 所使用之 XmlReader 的初始緩衝區大小。

傳回

XmlReader

XmlReader,使用 message 參數的 Stream 屬性初始化。

適用於