共用方式為


IPartitionProcessorFactory.Create(ILease, IChangeFeedObserver) Method

Definition

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