CollectHeaders()

SoapMessage::CollectHeaders(System::SharedPtr<Object>, System::ArrayPtr<System::SharedPtr<SoapHeaderMapping>>, SoapHeaderDirection) method

Sets the internal collection of the SOAP headers.

void System::Web::Services::Protocols::SoapMessage::CollectHeaders(System::SharedPtr<Object> target, System::ArrayPtr<System::SharedPtr<SoapHeaderMapping>> headers, SoapHeaderDirection direction)

Arguments

ParameterTypeDescription
targetSystem::SharedPtr<Object>The object to get the SOAP headers from.
headersSystem::ArrayPtr<System::SharedPtr<SoapHeaderMapping>>A collection of headers from which the internal collection will be filled.
directionSoapHeaderDirectionThe SOAP header direction.

See Also