SoapHeaderHandling.SetHeaderMembers Method (SoapHeaderCollection, Object, SoapHeaderMapping(), SoapHeaderDirection, Boolean)

 

Sets the SOAP header content for the specified SOAP message.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Shared Sub SetHeaderMembers (
	headers As SoapHeaderCollection,
	target As Object,
	mappings As SoapHeaderMapping(),
	direction As SoapHeaderDirection,
	client As Boolean
)

Parameters

headers
Type: System.Web.Services.Protocols.SoapHeaderCollection

The SoapHeaderCollection that contains the SOAP headers.

target
Type: System.Object

A Object that represents the SOAP message.

mappings
Type: System.Web.Services.Protocols.SoapHeaderMapping()

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

direction
Type: System.Web.Services.Protocols.SoapHeaderDirection

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

client
Type: System.Boolean

This parameter is currently not used.

.NET Framework
Available since 2.0
Return to top
Show: