共用方式為


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,表示 SOAP 訊息。

mappings
SoapHeaderMapping[]

SoapHeaderMapping 型別的陣列,其中包含 SOAP 標頭的對應。

direction
SoapHeaderDirection

SoapHeaderDirection 值,表示 SOAP 標頭的方向。

client
Boolean

目前未使用這個參數。

適用於

另請參閱