IoTHubMessage_Properties()

Gets a handle to the message's properties map. Note that when sending messages via the HTTP transport, the key names in the map must not contain spaces.

Syntax

#include "azure-iot-sdk-c/iothub_client/inc/iothub_message.h"

MAP_HANDLE IoTHubMessage_Properties(IOTHUB_MESSAGE_HANDLE  iotHubMessageHandle);

DEPRECATED: Use IoTHubMessage_SetProperty and IoTHubMessage_GetProperty instead. **

Parameters

  • iotHubMessageHandle Handle to the message.

Return Value

A MAP_HANDLE pointing to the properties map for this message.