SoapMessage::Headers Property
.NET Framework (current version)
A collection of the SOAP headers applied to the current SOAP request or SOAP response.
Assembly: System.Web.Services (in System.Web.Services.dll)
Property Value
Type: System.Web.Services.Protocols::SoapHeaderCollection^A SoapHeaderCollection of the SOAP headers applied to the current SOAP request or SOAP response. null, if there are no SOAP headers.
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 SoapHeader class.
Although the Headers property can be accessed at any stage, it is only populated with the SOAP header information in the BeforeSerialize and AfterDeserialize stages.
.NET Framework
Available since 1.1
Available since 1.1
Show: