SoapHeaderHandling::EnsureHeadersUnderstood Method (SoapHeaderCollection^)

 

Checks to ensure that the SOAP headers that must be understood have been understood; if not, this method throws an exception.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
static void EnsureHeadersUnderstood(
	SoapHeaderCollection^ headers
)

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

SoapHeaderHandling Class
System.Web.Services.Protocols Namespace
How to: Handle SOAP Headers Required by an XML Web Service Client

Return to top
Show: