Partager via


IWSDTransportAddress::SetPort (Windows Embedded CE 6.0)

1/6/2010

This method sets only the IP port number for this transport address.

Syntax

HRESULT SetPort(
  WORD wPort
);

Parameters

  • wPort
    [in] The IP port number for the address object.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

Requirements

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

See Also

Reference

IWSDTransportAddress
Web Services on Devices Interfaces