共用方式為


SoapHttpClientProtocol.GetWriterForMessage(SoapClientMessage, Int32) 方法

定義

傳回 XmlWriter,它是使用 Stream 參數的 SoapClientMessage 屬性初始化。

protected:
 virtual System::Xml::XmlWriter ^ GetWriterForMessage(System::Web::Services::Protocols::SoapClientMessage ^ message, int bufferSize);
protected virtual System.Xml.XmlWriter GetWriterForMessage (System.Web.Services.Protocols.SoapClientMessage message, int bufferSize);
abstract member GetWriterForMessage : System.Web.Services.Protocols.SoapClientMessage * int -> System.Xml.XmlWriter
override this.GetWriterForMessage : System.Web.Services.Protocols.SoapClientMessage * int -> System.Xml.XmlWriter
Protected Overridable Function GetWriterForMessage (message As SoapClientMessage, bufferSize As Integer) As XmlWriter

參數

message
SoapClientMessage

SoapClientMessage,提供 Stream,以初始化 XmlWriter

bufferSize
Int32

StreamWriter 所使用之 XmlWriter 的初始緩衝區大小。

傳回

XmlWriter

XmlWriter,使用 message 參數的 Stream 屬性初始化。

適用於