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

包含 SOAP 标头的 SoapHeaderCollection

target
Object

一个 Object,表示 SOAP 消息。

mappings
SoapHeaderMapping[]

一个类型为 SoapHeaderMapping 的数组,它包含 SOAP 标头的映射。

direction
SoapHeaderDirection

一个 SoapHeaderDirection 值,它指示 SOAP 标头的方向。

client
Boolean

当前未使用此参数。

适用于

另请参阅