SoapMessage.Headers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of the SOAP headers applied to the current SOAP request or SOAP response.
public:
property System::Web::Services::Protocols::SoapHeaderCollection ^ Headers { System::Web::Services::Protocols::SoapHeaderCollection ^ get(); };
public System.Web.Services.Protocols.SoapHeaderCollection Headers { get; }
member this.Headers : System.Web.Services.Protocols.SoapHeaderCollection
Public ReadOnly Property Headers As SoapHeaderCollection
Property Value
A SoapHeaderCollection of the SOAP headers applied to the current SOAP request or SOAP response. null
, if there are no SOAP headers.
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 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om