SoapHeaderHandling::EnsureHeadersUnderstood Method (SoapHeaderCollection^)
.NET Framework (current version)
Checks to ensure that the SOAP headers that must be understood have been understood; if not, this method throws an exception.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- headers
-
Type:
System.Web.Services.Protocols::SoapHeaderCollection^
The SoapHeaderCollection that contains the SOAP headers.
| Exception | Condition |
|---|---|
| SoapHeaderException | A SOAP header that must be understood was not understood. |
.NET Framework
Available since 2.0
Available since 2.0
SoapHeaderHandling Class
System.Web.Services.Protocols Namespace
How to: Handle SOAP Headers Required by an XML Web Service Client
Show: