System.Web.Services.Protocols.SoapHeaderAttribute Class

This attribute is applied to an XML Web service method or an XML Web service client to specify a SOAP header that the XML Web service method or XML Web service client can process. This class cannot be inherited.

See Also: SoapHeaderAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
public sealed class SoapHeaderAttribute : Attribute

Remarks

The basic steps to receiving and processing a SOAP header are:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

For more details, see the SoapHeaderAttribute.MemberName property.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0