Share via


EventData.Offset Property

Definition

The offset of the event when it was received from the associated Event Hub partition.

public long Offset { get; }
public string Offset { get; }
member this.Offset : int64
member this.Offset : string
Public ReadOnly Property Offset As Long
Public ReadOnly Property Offset As String

Property Value

This value is read-only and will only be populated for events that have been read from Event Hubs. The default value when not populated is null.

Remarks

This property is only populated for events received from the Event Hubs service. If this EventData was not received from the Event Hubs service, the value is MinValue.

Applies to