Share via


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