PartitionInitializingEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PartitionInitializingEventArgs class.
public PartitionInitializingEventArgs (string partitionId, Azure.Messaging.EventHubs.Consumer.EventPosition defaultStartingPosition, System.Threading.CancellationToken cancellationToken = default);
new Azure.Messaging.EventHubs.Processor.PartitionInitializingEventArgs : string * Azure.Messaging.EventHubs.Consumer.EventPosition * System.Threading.CancellationToken -> Azure.Messaging.EventHubs.Processor.PartitionInitializingEventArgs
Public Sub New (partitionId As String, defaultStartingPosition As EventPosition, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- partitionId
- String
The identifier of the partition whose processing is starting.
- defaultStartingPosition
- EventPosition
The position within a partition where the associated EventProcessorClient
should begin reading events when no checkpoint can be found.
- cancellationToken
- CancellationToken
A CancellationToken instance to signal the request to cancel the operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET