ChangeFeedProcessorBuilder.WithFeedCollection(DocumentCollectionInfo) Method

Definition

Sets the DocumentCollectionInfo of the collection to listen for changes.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithFeedCollection (Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo feedCollectionLocation);
member this.WithFeedCollection : Microsoft.Azure.Documents.ChangeFeedProcessor.DocumentCollectionInfo -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithFeedCollection (feedCollectionLocation As DocumentCollectionInfo) As ChangeFeedProcessorBuilder

Parameters

feedCollectionLocation
DocumentCollectionInfo

DocumentCollectionInfo of the collection to listen for changes

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to