Share via


SdkAssignsMessageId Enum

Definition

The different configurations available for setting a value of MessageId on an IoT Hub Message.

public enum SdkAssignsMessageId
type SdkAssignsMessageId = 
Public Enum SdkAssignsMessageId
Inheritance
SdkAssignsMessageId

Fields

Name Value Description
Never 0

MessageId is set only by the user.

WhenUnset 1

If MessageId is not set by the user, the client library will set it to a random GUID before sending the message.

Applies to