SoapHeaderHandling.WriteUnknownHeaders 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的 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)
參數
- headers
- SoapHeaderCollection
SoapHeaderCollection,其中包含要撰寫的 SOAP 標頭。