IActivityManager.DeleteBeforeAsync(DateTime, CancellationToken) Method

Definition

Delete any conversation records older than oldest.

public System.Threading.Tasks.Task DeleteBeforeAsync (DateTime oldest, System.Threading.CancellationToken cancel = default);
abstract member DeleteBeforeAsync : DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteBeforeAsync (oldest As DateTime, Optional cancel As CancellationToken = Nothing) As Task

Parameters

oldest
DateTime

Earliest remaining date in log.

cancel
CancellationToken

Cancellation token.

Returns

Applies to