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

PartitionInitializingEventArgs Class

Definition

Contains information about a partition that an EventProcessorClient will be processing events from. It can also be used to specify the position within a partition where the associated EventProcessorClient should begin reading events in case it cannot find a checkpoint.

public class PartitionInitializingEventArgs
type PartitionInitializingEventArgs = class
Public Class PartitionInitializingEventArgs
Inheritance
PartitionInitializingEventArgs

Constructors

PartitionInitializingEventArgs(String, EventPosition, CancellationToken)

Initializes a new instance of the PartitionInitializingEventArgs class.

Properties

CancellationToken

A CancellationToken indicate that the processor is requesting that the handler stop its activities. If this token is requesting cancellation, then either the processor is attempting to shutdown or ownership of the partition has changed.

DefaultStartingPosition

The position within a partition where the associated EventProcessorClient should begin reading events when no checkpoint can be found.

PartitionId

The identifier of the partition whose processing is starting.

Applies to