SoapHeaderHandling.SetHeaderMembers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.