你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusMessage.MessageId Property

Definition

Gets or sets the MessageId to identify the message.

public string MessageId { get; set; }
member this.MessageId : string with get, set
Public Property MessageId As String

Property Value

Remarks

The message identifier is an application-defined value that uniquely identifies the message and its payload. The identifier is a free-form string and can reflect a GUID or an identifier derived from the application context. If enabled, the duplicate detection feature identifies and removes second and further submissions of messages with the same MessageId.

Applies to