共用方式為


EventPosition Class

Definition

Represents options can be set during the creation of a event hub receiver.

public class EventPosition
type EventPosition = class
Public Class EventPosition
Inheritance
EventPosition

Properties

SequenceNumber

Gets the sequence number of the event at the position. It can be null if the position is just created from an offset or an enqueued time.

Methods

FromEnd()

Returns the position for the end of a stream. Provide this position in receiver creation to start receiving from the next available event in the partition after the receiver is created.

FromEnqueuedTime(DateTime)

Creates a position at the given offset.

FromOffset(String, Boolean)

Creates a position at the given offset.

FromSequenceNumber(Int64, Boolean)

Creates a position at the given offset.

FromStart()

Returns the position for the start of a stream. Provide this position in receiver creation to starting receiving from the first available event in the partition.

Applies to