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

包含要写入的 SOAP 标头的 SoapHeaderCollection

envelopeNS
String

包含 SOAP 消息信封的命名空间的 String

适用于