SoapHeaderHandling.EnsureHeadersUnderstood(SoapHeaderCollection) Metod

Definition

Kontroller för att säkerställa att SOAP-huvuden som måste förstås har förståtts. om inte, utlöser den här metoden ett undantag.

public:
 static void EnsureHeadersUnderstood(System::Web::Services::Protocols::SoapHeaderCollection ^ headers);
public static void EnsureHeadersUnderstood(System.Web.Services.Protocols.SoapHeaderCollection headers);
static member EnsureHeadersUnderstood : System.Web.Services.Protocols.SoapHeaderCollection -> unit
Public Shared Sub EnsureHeadersUnderstood (headers As SoapHeaderCollection)

Parametrar

headers
SoapHeaderCollection

Som SoapHeaderCollection innehåller SOAP-huvudena.

Undantag

En SOAP-rubrik som måste förstås förstods inte.

Gäller för

Se även