System.Web.Services.Protocols.SoapMessage.Headers Property

A collection of the SOAP headers applied to the current SOAP request or SOAP response.

Syntax

public SoapHeaderCollection Headers { get; }

Value

Documentation for this section has not yet been entered.

Remarks

SOAP headers are an optional portion of a SOAP request or SOAP response. For more details on using SOAP headers in XML Web services created using ASP.NET and their clients, see the System.Web.Services.Protocols.SoapHeader class.

Although the SoapMessage.Headers property can be accessed at any stage, it is only populated with the SOAP header information in the SoapMessageStage.BeforeSerialize and SoapMessageStage.AfterDeserialize stages.

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