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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om