Compartir a través de


IPartitionProcessorFactory.Create(ILease, IChangeFeedObserver) Método

Definición

Crea una instancia de 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

Parámetros

lease
ILease

Concesión que se va a usar para el procesamiento de particiones

observer
IChangeFeedObserver

Observador que se va a usar

Devoluciones

Instancia de un objeto IPartitionProcessor.

Se aplica a