Udostępnij za pośrednictwem


CheckpointPosition.FromEvent(EventData) Method

Definition

Initializes a new instance of the CheckpointPosition from an EventData instance.

public static Azure.Messaging.EventHubs.Processor.CheckpointPosition FromEvent (Azure.Messaging.EventHubs.EventData eventData);
static member FromEvent : Azure.Messaging.EventHubs.EventData -> Azure.Messaging.EventHubs.Processor.CheckpointPosition
Public Shared Function FromEvent (eventData As EventData) As CheckpointPosition

Parameters

eventData
EventData

The EventData to use to determine the starting point of a checkpoint, indicating that an event processor should begin reading from the next event in the stream.

Returns

Applies to