Share via


ChangeFeedMode.AllVersionsAndDeletes Property

Definition

Creates a ChangeFeedMode to receive notifications for creations, deletes, as well as all intermediary snapshots for updates.

public static Microsoft.Azure.Cosmos.ChangeFeedMode AllVersionsAndDeletes { get; }
static member AllVersionsAndDeletes : Microsoft.Azure.Cosmos.ChangeFeedMode
Public Shared ReadOnly Property AllVersionsAndDeletes As ChangeFeedMode

Property Value

A ChangeFeedMode to receive notifications for insertions, updates, and delete operations.

Remarks

A container with a ChangeFeedPolicy configured is required. The delete operations will be included only within the configured retention period. When enabling full fidelity mode you will only be able to process change feed events within the retention window configured in the change feed policy of the container. If you attempt to process a change feed after more than the retention window an error(Status Code 400) will be returned because the events for intermediary updates and deletes have vanished. It would still be possible to process changes using Incremental mode even when configuring a full fidelity change feed policy with retention window on the container and when using Incremental mode it doesn't matter whether your are out of the retention window or not - but no events for deletes or intermediary updates would be included.

Applies to