EventPosition.FromOffset(String, Boolean) Method

Definition

Creates a position at the given offset.

public static Microsoft.Azure.EventHubs.EventPosition FromOffset (string offset, bool inclusive = false);
static member FromOffset : string * bool -> Microsoft.Azure.EventHubs.EventPosition
Public Shared Function FromOffset (offset As String, Optional inclusive As Boolean = false) As EventPosition

Parameters

offset
String

Offset

inclusive
Boolean

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

Returns

An EventPosition object.

Applies to