SdkAssignsMessageId Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET