SoapHttpClientProtocol.GetWriterForMessage(SoapClientMessage, Int32) Method

Definition

Returns a XmlWriter initialized with the Stream property of the SoapClientMessage parameter.

C#
protected virtual System.Xml.XmlWriter GetWriterForMessage(System.Web.Services.Protocols.SoapClientMessage message, int bufferSize);

Parameters

message
SoapClientMessage

A SoapClientMessage that provides the Stream to initialize the XmlWriter.

bufferSize
Int32

The initial buffer size of the StreamWriter used by the XmlWriter.

Returns

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

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1