BrokeredMessage.MessageId Property
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.
Gets or sets the identifier of the message. This is a user-defined value that Service Bus can use to identify duplicate messages, if enabled.
public string MessageId { get; set; }
member this.MessageId : string with get, set
Public Property MessageId As String
Property Value
The identifier of the message.
Exceptions
Thrown if the message is in a disposed state.
Thrown if the message identifier is null or exceeds 128 characters in length.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for