EventPosition.FromSequenceNumber(Int64, Boolean) Method
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.
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
- inclusive
- Boolean
If true, the specified event is included; otherwise the next event is returned.
Returns
An EventPosition object.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET