Share via


IWSDTransportAddress::SetPort (Compact 2013)

3/26/2014

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

See Also

Reference

IWSDTransportAddress
Web Services on Devices Interfaces