SoapServerProtocol::GetWriterForMessage Method (SoapServerMessage^, Int32)

 

Returns an XmlTextWriter 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 XmlWriter^ GetWriterForMessage(
	SoapServerMessage^ message,
	int bufferSize
)

Parameters

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

The SoapServerMessage with which to initialize the XmlTextWriter.

bufferSize
Type: System::Int32

The buffer size with which to initialize the XmlTextWriter.

Return Value

Type: System.Xml::XmlWriter^

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

.NET Framework
Available since 2.0
Return to top
Show: