ChangeFeedEventHost Constructors

Definition

Overloads

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo)

Initializes a new instance of the ChangeFeedEventHost class.

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedHostOptions)

Initializes a new instance of the ChangeFeedEventHost class.

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

Initializes a new instance of the ChangeFeedEventHost class.

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo)

Initializes a new instance of the ChangeFeedEventHost class.

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)

Parameters

hostName
String

Unique name for this host.

documentCollectionLocation
DocumentCollectionInfo

Specifies location of the DocumentDB collection to monitor changes for.

leaseCollectionLocation
DocumentCollectionInfo

ChangeFeedEventHost(String, DocumentCollectionInfo, DocumentCollectionInfo, ChangeFeedHostOptions)

Initializes a new instance of the ChangeFeedEventHost class.

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)

Parameters

hostName
String

Unique name for this host.

feedCollectionLocation
DocumentCollectionInfo

Specifies location of the Cosmos DB collection to monitor changes for.

leaseCollectionLocation
DocumentCollectionInfo

Specifies location of auxiliary data for load-balancing instances of ChangeFeedEventHost.

changeFeedHostOptions
ChangeFeedHostOptions

Additional options to control load-balancing of ChangeFeedEventHost instances.

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

Initializes a new instance of the ChangeFeedEventHost class.

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)

Parameters

hostName
String

Unique name for this host.

feedCollectionLocation
DocumentCollectionInfo

Specifies location of the Cosmos DB collection to monitor changes for.

leaseCollectionLocation
DocumentCollectionInfo

Specifies location of auxiliary data for load-balancing instances of ChangeFeedEventHost.

changeFeedOptions
ChangeFeedOptions

Options to pass to the DocumentClient.CreateDocumentChangeFeedQuery API.

changeFeedHostOptions
ChangeFeedHostOptions

Additional options to control load-balancing of ChangeFeedEventHost instances.

Applies to