語言

SoapHeaderHandling.GetHeaderMembers 方法

定義

取得指定 SOAP 訊息的 SOAP 標頭內容。

public:
 static void GetHeaderMembers(System::Web::Services::Protocols::SoapHeaderCollection ^ headers, System::Object ^ target, cli::array <System::Web::Services::Protocols::SoapHeaderMapping ^> ^ mappings, System::Web::Services::Protocols::SoapHeaderDirection direction, bool client);
public static void GetHeaderMembers(System.Web.Services.Protocols.SoapHeaderCollection headers, object target, System.Web.Services.Protocols.SoapHeaderMapping[] mappings, System.Web.Services.Protocols.SoapHeaderDirection direction, bool client);
static member GetHeaderMembers : System.Web.Services.Protocols.SoapHeaderCollection * obj * System.Web.Services.Protocols.SoapHeaderMapping[] * System.Web.Services.Protocols.SoapHeaderDirection * bool -> unit
Public Shared Sub GetHeaderMembers (headers As SoapHeaderCollection, target As Object, mappings As SoapHeaderMapping(), direction As SoapHeaderDirection, client As Boolean)

參數

headers
SoapHeaderCollection

那個 SoapHeaderCollection 包含 SOAP 標頭的部分。

target
Object

Object A 代表 SOAP 訊息。

mappings
SoapHeaderMapping[]

一個型別 SoapHeaderMapping 為 的陣列,包含 SOAP 標頭的映射。

direction
SoapHeaderDirection

一個 SoapHeaderDirection 表示 SOAP 標頭方向的值。

client
Boolean

目前尚未使用此參數。

適用於

另請參閱