IPartitionProcessorFactory.Create(ILease, IChangeFeedObserver) Method
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.
Creates an instance of a IPartitionProcessor.
public Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IPartitionProcessor Create (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease, Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver observer);
abstract member Create : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease * Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IChangeFeedObserver -> Microsoft.Azure.Documents.ChangeFeedProcessor.FeedProcessing.IPartitionProcessor
Public Function Create (lease As ILease, observer As IChangeFeedObserver) As IPartitionProcessor
Parameters
- lease
- ILease
Lease to be used for partition processing
- observer
- IChangeFeedObserver
Observer to be used
Returns
An instance of a IPartitionProcessor.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET