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

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

适用于