ChangeFeedProcessorBuilder.WithMaxItems(Int32) Method

Definition

Sets the maximum number of items to be returned in the enumeration operation in the Azure Cosmos DB service.

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithMaxItems (int maxItemCount);
member this.WithMaxItems : int -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithMaxItems (maxItemCount As Integer) As ChangeFeedProcessorBuilder

Parameters

maxItemCount
System.Int32

Maximum amount of items to be returned in a Change Feed request.

Returns

ChangeFeedProcessorBuilder

An instance of ChangeFeedProcessorBuilder.

Applies to