Compartilhar via


ChangeFeedEventHost Construtores

Definição

Sobrecargas

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo)

Inicializa uma nova instância da classe ChangeFeedEventHost.

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedHostOptions)

Inicializa uma nova instância da classe ChangeFeedEventHost.

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedOptions, ChangeFeedHostOptions)

Inicializa uma nova instância da classe ChangeFeedEventHost.

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo)

Inicializa uma nova instância da classe ChangeFeedEventHost.

public ChangeFeedEventHost(string hostName, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo documentCollectionLocation, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo leaseCollectionLocation);
new Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost : string * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost
Public Sub New (hostName As String, documentCollectionLocation As DocumentCollectionInfo, leaseCollectionLocation As DocumentCollectionInfo)

Parâmetros

hostName
String

Nome exclusivo para este host.

documentCollectionLocation
DocumentCollectionInfo

Especifica o local da coleção do DocumentDB para o qual monitorar as alterações.

leaseCollectionLocation
DocumentCollectionInfo

Aplica-se a

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedHostOptions)

Inicializa uma nova instância da classe ChangeFeedEventHost.

public ChangeFeedEventHost(string hostName, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo feedCollectionLocation, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo leaseCollectionLocation, Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedHostOptions changeFeedHostOptions);
new Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost : string * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo * Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedHostOptions -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost
Public Sub New (hostName As String, feedCollectionLocation As DocumentCollectionInfo, leaseCollectionLocation As DocumentCollectionInfo, changeFeedHostOptions As ChangeFeedHostOptions)

Parâmetros

hostName
String

Nome exclusivo para este host.

feedCollectionLocation
DocumentCollectionInfo

Especifica o local da coleção do Cosmos DB para o qual monitorar as alterações.

leaseCollectionLocation
DocumentCollectionInfo

Especifica o local dos dados auxiliares para instâncias de balanceamento de carga do ChangeFeedEventHost.

changeFeedHostOptions
ChangeFeedHostOptions

Opções adicionais para controlar o balanceamento de carga de ChangeFeedEventHost instâncias.

Aplica-se a

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedOptions, ChangeFeedHostOptions)

Inicializa uma nova instância da classe ChangeFeedEventHost.

public ChangeFeedEventHost(string hostName, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo feedCollectionLocation, Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo leaseCollectionLocation, Microsoft.Azure.Documents.Client.ChangeFeedOptions changeFeedOptions, Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedHostOptions changeFeedHostOptions);
new Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost : string * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo * Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo * Microsoft.Azure.Documents.Client.ChangeFeedOptions * Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedHostOptions -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedEventHost
Public Sub New (hostName As String, feedCollectionLocation As DocumentCollectionInfo, leaseCollectionLocation As DocumentCollectionInfo, changeFeedOptions As ChangeFeedOptions, changeFeedHostOptions As ChangeFeedHostOptions)

Parâmetros

hostName
String

Nome exclusivo para este host.

feedCollectionLocation
DocumentCollectionInfo

Especifica o local da coleção do Cosmos DB para o qual monitorar as alterações.

leaseCollectionLocation
DocumentCollectionInfo

Especifica o local dos dados auxiliares para instâncias de balanceamento de carga do ChangeFeedEventHost.

changeFeedOptions
ChangeFeedOptions

Opções a serem passadas para a API DocumentClient.CreateDocumentChangeFeedQuery.

changeFeedHostOptions
ChangeFeedHostOptions

Opções adicionais para controlar o balanceamento de carga de ChangeFeedEventHost instâncias.

Aplica-se a