Share via


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

SoapHeaderCollection,包含 SOAP 標頭。

例外狀況

未辨認必須辨認的 SOAP 標頭。

適用於

另請參閱