Język

SoapHeaderHandling.SetHeaderMembers Metoda

Definicja

Ustawia zawartość nagłówka protokołu SOAP dla określonego komunikatu PROTOKOŁU 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)

Parametry

headers
SoapHeaderCollection

Element SoapHeaderCollection zawierający nagłówki PROTOKOŁU SOAP.

target
Object

Element Object reprezentujący komunikat PROTOKOŁU SOAP.

mappings
SoapHeaderMapping[]

Tablica typu SoapHeaderMapping zawierająca mapowania nagłówków protokołu SOAP.

direction
SoapHeaderDirection

SoapHeaderDirection Wartość wskazująca kierunek nagłówków PROTOKOŁU SOAP.

client
Boolean

Ten parametr nie jest obecnie używany.

Dotyczy

Zobacz też