EventData.Offset 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.
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
Azure SDK for .NET