System::Web::Services::Protocols::SoapMessage::CollectHeaders method

SoapMessage::CollectHeaders 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)
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