SoapUnknownHeader Class
TOC
Collapse the table of content
Expand the table of content

SoapUnknownHeader Class

 

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.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

System.Object
  System.Web.Services.Protocols.SoapHeader
    System.Web.Services.Protocols.SoapUnknownHeader

public sealed class SoapUnknownHeader : SoapHeader

NameDescription
System_CAPS_pubmethodSoapUnknownHeader()

Initializes a new instance of the SoapUnknownHeader class.

NameDescription
System_CAPS_pubpropertyActor

Gets or sets the recipient of the SOAP header.(Inherited from SoapHeader.)

System_CAPS_pubpropertyDidUnderstand

Gets or sets a value indicating whether an XML Web service method properly processed a SOAP header.(Inherited from SoapHeader.)

System_CAPS_pubpropertyElement

Gets or sets the XML Header element for a SOAP request or response.

System_CAPS_pubpropertyEncodedMustUnderstand

Gets or sets the value of the mustUnderstand XML attribute for the SOAP header when communicating with SOAP protocol version 1.1.(Inherited from SoapHeader.)

System_CAPS_pubpropertyEncodedMustUnderstand12

Gets or sets the value of the mustUnderstand XML attribute for the SOAP header when communicating with SOAP protocol version 1.2.(Inherited from SoapHeader.)

System_CAPS_pubpropertyEncodedRelay

Gets or sets the relay attribute of the SOAP 1.2 header.(Inherited from SoapHeader.)

System_CAPS_pubpropertyMustUnderstand

Gets or sets a value indicating whether the SoapHeader must be understood.(Inherited from SoapHeader.)

System_CAPS_pubpropertyRelay

Gets or sets a value that indicates whether the SOAP header is to be relayed to the next SOAP node if the current node does not understand the header.(Inherited from SoapHeader.)

System_CAPS_pubpropertyRole

Gets or sets the recipient of the SOAP header.(Inherited from SoapHeader.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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 SoapHeaderAttribute with a MemberName property of either an array of SoapHeader, SoapHeader, SoapUnknownHeader or an array of SoapUnknownHeader to the XML Web service method. Specifying a Type of SoapUnknownHeader, allows the XML Web service to view the contents of the SOAP header in the form of an XmlElement.

The MyWebService XML Web service accepts and processes the MyHeader SOAP header sent with any calls to the MyWebMethod XML Web service method. Additionally, MyWebMethod receives any SOAP headers other than the MyHeader SOAP header.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft