次の方法で共有


IWSDUdpAddress::SetExclusive (Compact 2013)

3/26/2014

This method controls whether the socket is in exclusive mode.

Syntax

HRESULT SetExclusive(
  BOOL fExclusive
);

Parameters

  • fExclusive
    [in] A value of TRUE indicates that the socket should be set to exclusive mode. A value of FALSE indicates that the socket should not be in exclusive mode.

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

IWSDUdpAddress
Web Services on Devices Interfaces