Breyta

Deila með


SoapHeaderHandling.SetHeaderMembers Method

Definition

Sets the SOAP header content for the specified SOAP message.

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)

Parameters

headers
SoapHeaderCollection

The SoapHeaderCollection that contains the SOAP headers.

target
Object

A Object that represents the SOAP message.

mappings
SoapHeaderMapping[]

An array of type SoapHeaderMapping that contains the mappings for the SOAP headers.

direction
SoapHeaderDirection

A SoapHeaderDirection value that indicates the direction of the SOAP headers.

client
Boolean

This parameter is currently not used.

Applies to

See also