IWSDHttpMessageParameters::SetInboundHttpHeaders method (wsdbase.h)

Sets the HTTP headers used for inbound SOAP-over-HTTP transmissions.

Syntax

HRESULT SetInboundHttpHeaders(
  [in] LPCWSTR pszHeaders
);

Parameters

[in] pszHeaders

The HTTP headers to be set.

Return value

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
Method completed successfully.
E_INVALIDARG
The length in characters of pszHeaders exceeds WSD_MAX_TEXT_LENGTH (8192).
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdbase.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDHttpMessageParameters