IWSDUdpAddress::SetMessageType method (wsdbase.h)

Sets the message type for this UDP address configuration. There are two types of messages: one-way messages, which do not require responses, and two-way messages, which do require responses.

Syntax

HRESULT SetMessageType(
  [in] WSDUdpMessageType messageType
);

Parameters

[in] messageType

A WSDUdpMessageType value that specifies the message type used for this address configuration.

Return value

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdbase.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDUdpAddress