Bewerken

Delen via


SoapHttpClientProtocol.GetReaderForMessage(SoapClientMessage, Int32) Method

Definition

Returns an XmlReader initialized with the Stream property of the SoapClientMessage parameter.

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

Parameters

message
SoapClientMessage

A SoapClientMessage that provides the Stream to initialize the XmlReader.

bufferSize
Int32

The initial buffer size of the StreamReader used by the XmlReader.

Returns

A XmlReader initialized with the Stream property of the message parameter.

Applies to