Rediger

Del via


SoapHeaderHandling.WriteUnknownHeaders Method

Definition

Writes the specified SOAP header content to the SOAP message.

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)

Parameters

writer
XmlWriter

The XmlWriter to be used in writing the headers.

headers
SoapHeaderCollection

The SoapHeaderCollection that contains the SOAP headers to be written.

envelopeNS
String

A String that contains the namespace for the SOAP message envelope.

Applies to