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 position of events in an Event Hub partition, typically used in the creation of an EventHubConsumerClient.
public struct EventPosition : IEquatable<Azure.Messaging.EventHubs.Consumer.EventPosition>
type EventPosition = struct
Public Structure EventPosition Implements IEquatable(Of EventPosition)
Corresponds to the location of the first event present in the partition. Use this position to begin receiving from the first event that was enqueued in the partition which has not expired due to the retention policy.
Corresponds to the end of the partition, where no more events are currently enqueued. Use this position to begin receiving from the next event to be enqueued in the partition after an event consumer begins reading with this position.
Determines whether the specified EventPosition is equal to this instance.
Corresponds to a specific date and time within the partition to begin seeking an event; the event enqueued on or after
Corresponds to a specific offset in the partition event stream. By default, if an event is located
at that offset, it will be read. Setting
Corresponds to an event with the specified sequence number in the partition. By default, the event
Converts the instance to string representation.
Determines whether the specified EventPosition instances are equal to each other.
Determines whether the specified EventPosition instances are not equal to each other.
Submit and view feedback for