Share via


EventData.MessageId Property

Definition

An application-defined value that uniquely identifies the event. The identifier is a free-form value and can reflect a GUID or an identifier derived from the application context.

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

Property Value

The application identifier assigned to the event.

Remarks

The MessageId is intended to allow coordination between event producers and consumers in applications.

Event Hubs does not read, generate, or populate this value. It does not influence how Event Hubs identifies the event.

Applies to