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.