Compartilhar via


SoapHeaderHandling.SetHeaderMembers Método

Definição

Define o conteúdo do cabeçalho SOAP para a mensagem SOAP especificada.

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)

Parâmetros

headers
SoapHeaderCollection

O SoapHeaderCollection que contém os cabeçalhos SOAP.

target
Object

Um Object que representa a mensagem SOAP.

mappings
SoapHeaderMapping[]

Uma matriz do tipo SoapHeaderMapping que contém os mapeamentos para os cabeçalhos SOAP.

direction
SoapHeaderDirection

Um valor SoapHeaderDirection que indica a direção dos cabeçalhos SOAP.

client
Boolean

Esse parâmetro não é usado atualmente.

Aplica-se a

Confira também