System.Web.Services.Protocols.SoapHeaderHandling.ReadHeaders Method

Returns a string that contains the SOAP header content of the SOAP message.

Syntax

public string ReadHeaders (System.Xml.XmlReader reader, System.Xml.Serialization.XmlSerializer serializer, SoapHeaderCollection headers, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, string envelopeNS, string encodingStyle, bool checkRequiredHeaders)

Parameters

reader
The System.Xml.XmlReader to be used in writing the headers.
serializer
The System.Xml.Serialization.XmlSerializer to be used in reading the headers.
headers
The System.Web.Services.Protocols.SoapHeaderCollection that contains the SOAP headers.
mappings
An array of type System.Web.Services.Protocols.SoapHeaderMapping that contains the mappings for the SOAP headers.
direction
A System.Web.Services.Protocols.SoapHeaderDirection value that indicates the direction of the SOAP headers.
envelopeNS
A string that contains the namespace for the SOAP message envelope.
encodingStyle
A string that contains the encoding style for the SOAP headers.
checkRequiredHeaders
A bool that indicates whether to check for the required SOAP headers.

Returns

A string that contains the SOAP header content of the SOAP message.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0