共用方式為


SoapHeaderHandling.WriteUnknownHeaders 方法

定義

將指定的 SOAP 標頭內容寫入 SOAP 訊息。

public:
 static void WriteUnknownHeaders(System::Xml::XmlWriter ^ writer, System::Web::Services::Protocols::SoapHeaderCollection ^ headers, System::String ^ envelopeNS);
public static void WriteUnknownHeaders (System.Xml.XmlWriter writer, System.Web.Services.Protocols.SoapHeaderCollection headers, string envelopeNS);
static member WriteUnknownHeaders : System.Xml.XmlWriter * System.Web.Services.Protocols.SoapHeaderCollection * string -> unit
Public Shared Sub WriteUnknownHeaders (writer As XmlWriter, headers As SoapHeaderCollection, envelopeNS As String)

參數

writer
XmlWriter

XmlWriter,用於撰寫標頭。

headers
SoapHeaderCollection

SoapHeaderCollection,其中包含要撰寫的 SOAP 標頭。

envelopeNS
String

String,其中包含 SOAP 訊息信封的命名空間。

適用於