Share via


IWSDUdpAddress::SetMessageType (Compact 2013)

3/26/2014

This method 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(
  WSDUdpMessageType messageType
);

Parameters

  • messageType
    [in] A WSDUdpMessageType value that specifies the message type used for this address configuration.

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