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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET