AzureCosmosDbPurgeExpiredItems Method

Purges all soft deleted items from the database whose time period has expired.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task PurgeExpiredItems(
	Guid processId,
	CancellationToken cancellationToken = default
)

Parameters

processId  Guid
ID of the LifeCycle that is running this process.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Implements

IAzureCosmosDbPurgeExpiredItems(Guid, CancellationToken)

See Also