Share via


IWSDHttpMessageParameters::SetID (Windows Embedded CE 6.0)

1/6/2010

This method sets the transport ID for the current transaction.

Syntax

HRESULT SetID(
  LPCWSTR pszId
);

Parameters

  • pszId
    [in] Pointer to the desired transport ID for the current transaction.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

E_INVALIDARG

pszId is NULL or the length in characters of pszId exceeds WSD_MAX_TEXT_LENGTH (8192).

E_OUTOFMEMORY

Insufficient memory to complete the operation.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDHttpMessageParameters
Web Services on Devices Interfaces