你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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