共用方式為


EventPosition.FromOffset(String, Boolean) Method

Definition

Creates a position at the given offset.

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

Parameters

offset
String

Offset

inclusive
Boolean

If true, the event at given offset is included; otherwise the next event is returned.

Returns

An EventPosition object.

Applies to