Represents the data received from a SOAP header that was not understood by the recipient XML Web service or XML Web service client. This class cannot be inherited.
See Also: SoapUnknownHeader Members
A SOAP client might invoke an XML Web service with additional data beyond the required parameters in the form of a SOAP header. An XML Web service created using ASP.NET or an XML Web service client can view any SOAP headers it did not know about at the time the XML Web service was written by applying a System.Web.Services.Protocols.SoapHeaderAttribute with a SoapHeaderAttribute.MemberName property of either an array of System.Web.Services.Protocols.SoapHeader, System.Web.Services.Protocols.SoapHeader, System.Web.Services.Protocols.SoapUnknownHeader or an array of System.Web.Services.Protocols.SoapUnknownHeader to the XML Web service method. Specifying a Type of System.Web.Services.Protocols.SoapUnknownHeader, allows the XML Web service to view the contents of the SOAP header in the form of an System.Xml.XmlElement.