ChangeFeedProcessorBuilder.WithStartTime(DateTime) Method

Definition

Sets the time (exclusive) to start looking for changes after.

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithStartTime (DateTime startTime);
member this.WithStartTime : DateTime -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithStartTime (startTime As DateTime) As ChangeFeedProcessorBuilder

Parameters

startTime
DateTime

Date and time when to start looking for changes.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Remarks

This is only used when: (1) Lease store is not initialized and is ignored if a lease exists and has continuation token. (2) StartContinuation is not specified. If this is specified, StartFromBeginning is ignored.

Applies to