您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

BrokeredMessage.MessageId BrokeredMessage.MessageId BrokeredMessage.MessageId Property

Definition

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 identifier is null or exceeds 128 characters in length.

Applies to