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.