RemoveAllMessageHeaderItems Method

Removes all SoapHeader items from the SOAP header before the WCF client sends a request.

Syntax

client.wcfConnectionObject.SoapMessageHeader.RemoveAllMessageHeaderItems ()

Parameters

Returns

Boolean. Returns true if successful, otherwise returns false.

Related reference
WCFSoapMessageHeader Class
Related information
AddMessageHeaderItem Method
RemoveMessageHeaderItem Method