SoapMessage.Headers Property
.NET Framework 2.0
A collection of the SOAP headers applied to the current SOAP request or SOAP response.
Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
/** @property */ public SoapHeaderCollection get_Headers ()
public function get Headers () : SoapHeaderCollection
Not applicable.
Property Value
A SoapHeaderCollection of the SOAP headers applied to the current SOAP request or SOAP response. a null reference (Nothing in Visual Basic), 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.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: