共用方式為


EventPosition.FromSequenceNumber(Int64, Boolean) Method

Definition

Creates a position at the given offset.

public static Microsoft.Azure.EventHubs.EventPosition FromSequenceNumber (long sequenceNumber, bool inclusive = false);
static member FromSequenceNumber : int64 * bool -> Microsoft.Azure.EventHubs.EventPosition
Public Shared Function FromSequenceNumber (sequenceNumber As Long, Optional inclusive As Boolean = false) As EventPosition

Parameters

sequenceNumber
Int64

SequenceNumber

inclusive
Boolean

If true, the specified event is included; otherwise the next event is returned.

Returns

An EventPosition object.

Applies to