SoapHeaderHandling.EnsureHeadersUnderstood(SoapHeaderCollection) 方法

定义

检查以确保已理解必须理解的 SOAP 标头;如果未理解,则此方法将引发异常。

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)

参数

headers
SoapHeaderCollection

包含 SOAP 标头的 SoapHeaderCollection

例外

必须理解的 SOAP 标头未被理解。

适用于

另请参阅