SoapHeaderHandling.SetHeaderMembers Method

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:
static void SetHeaderMembers (
	SoapHeaderCollection^ headers, 
	Object^ target, 
	array<SoapHeaderMapping^>^ mappings, 
	SoapHeaderDirection direction, 
	bool client
)
public static void SetHeaderMembers (
	SoapHeaderCollection headers, 
	Object target, 
	SoapHeaderMapping[] mappings, 
	SoapHeaderDirection direction, 
	boolean client
)
public static function SetHeaderMembers (
	headers : SoapHeaderCollection, 
	target : Object, 
	mappings : SoapHeaderMapping[], 
	direction : SoapHeaderDirection, 
	client : boolean
)
Not applicable.

Parameters

headers

The SoapHeaderCollection that contains the SOAP headers.

target

A Object that represents the SOAP message.

mappings

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

direction

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

client

This parameter is currently not used.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: