SoapHeaderHandling.EnsureHeadersUnderstood(SoapHeaderCollection) 方法
定义
检查以确保已理解必须理解的 SOAP 标头;如果未理解,则此方法将引发异常。Checks to ensure that the SOAP headers that must be understood have been understood; if not, this method throws an exception.
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。The SoapHeaderCollection that contains the SOAP headers.
例外
必须理解的 SOAP 标头未被理解。A SOAP header that must be understood was not understood.