SoapServerProtocol::GetReaderForMessage Method (SoapServerMessage^, Int32)

 

Returns an XmlTextReader initialized with the specified SoapServerMessage and buffer size.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

protected:
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
virtual XmlReader^ GetReaderForMessage(
	SoapServerMessage^ message,
	int bufferSize
)

Parameters

message
Type: System.Web.Services.Protocols::SoapServerMessage^

The SoapServerMessage with which to initialize the XmlTextReader.

bufferSize
Type: System::Int32

The buffer size with which to initialize the XmlTextReader.

Return Value

Type: System.Xml::XmlReader^

A XmlTextReader initialized with the SoapServerMessage specified by message and the buffer size specified by bufferSize.

.NET Framework
Available since 2.0
Return to top
Show: