SetHeaders()

SoapMessage::SetHeaders(System::SharedPtr<SoapHeaderCollection>) method

Sets the collection of the SOAP headers.

void System::Web::Services::Protocols::SoapMessage::SetHeaders(System::SharedPtr<SoapHeaderCollection> headers)

Arguments

ParameterTypeDescription
headersSystem::SharedPtr<SoapHeaderCollection>The collection of the SOAP headers to set.

See Also