Partager via


IWSDHttpMessageParameters::SetOutboundHttpHeaders (Compact 2013)

3/26/2014

This method sets the HTTP headers used for outbound SOAP-over-HTTP transmissions.

Syntax

HRESULT SetOutboundHttpHeaders(
  LPCWSTR pszHeaders
);

Parameters

  • pszHeaders
    [in] The HTTP headers to be set.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This 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

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDHttpMessageParameters
Web Services on Devices Interfaces