SoapHeaderHandling.SetHeaderMembers 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置指定 SOAP 消息的 SOAP 标头内容。
public:
static void SetHeaderMembers(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 SetHeaderMembers (System.Web.Services.Protocols.SoapHeaderCollection headers, object target, System.Web.Services.Protocols.SoapHeaderMapping[] mappings, System.Web.Services.Protocols.SoapHeaderDirection direction, bool client);
static member SetHeaderMembers : System.Web.Services.Protocols.SoapHeaderCollection * obj * System.Web.Services.Protocols.SoapHeaderMapping[] * System.Web.Services.Protocols.SoapHeaderDirection * bool -> unit
Public Shared Sub SetHeaderMembers (headers As SoapHeaderCollection, target As Object, mappings As SoapHeaderMapping(), direction As SoapHeaderDirection, client As Boolean)
参数
- headers
- SoapHeaderCollection
包含 SOAP 标头的 SoapHeaderCollection。
- mappings
- SoapHeaderMapping[]
一个类型为 SoapHeaderMapping 的数组,它包含 SOAP 标头的映射。
- direction
- SoapHeaderDirection
一个 SoapHeaderDirection 值,它指示 SOAP 标头的方向。
- client
- Boolean
当前未使用此参数。