Compartilhar via


ChangeFeedProcessorBuilder.WithLeaseDocumentClient Método

Definição

Sobrecargas

WithLeaseDocumentClient(IChangeFeedDocumentClient)

Define um existente IChangeFeedDocumentClient a ser usado para ler da coleção de concessões.

WithLeaseDocumentClient(DocumentClient)

Define um existente DocumentClient a ser usado para ler da coleção de concessões.

WithLeaseDocumentClient(IChangeFeedDocumentClient)

Define um existente IChangeFeedDocumentClient a ser usado para ler da coleção de concessões.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithLeaseDocumentClient (Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient leaseDocumentClient);
member this.WithLeaseDocumentClient : Microsoft.Azure.Documents.ChangeFeedProcessor.DataAccess.IChangeFeedDocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithLeaseDocumentClient (leaseDocumentClient As IChangeFeedDocumentClient) As ChangeFeedProcessorBuilder

Parâmetros

leaseDocumentClient
IChangeFeedDocumentClient

A instância do IChangeFeedDocumentClient a ser usada.

Retornos

A instância do ChangeFeedProcessorBuilder a ser usada.

Aplica-se a

WithLeaseDocumentClient(DocumentClient)

Define um existente DocumentClient a ser usado para ler da coleção de concessões.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithLeaseDocumentClient (Microsoft.Azure.Documents.Client.DocumentClient leaseDocumentClient);
member this.WithLeaseDocumentClient : Microsoft.Azure.Documents.Client.DocumentClient -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithLeaseDocumentClient (leaseDocumentClient As DocumentClient) As ChangeFeedProcessorBuilder

Parâmetros

leaseDocumentClient
DocumentClient

A instância do DocumentClient a ser usada.

Retornos

A instância do ChangeFeedProcessorBuilder a ser usada.

Aplica-se a