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
System.Int64

SequenceNumber

inclusive
System.Boolean

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

Returns

EventPosition

An EventPosition object.

Applies to