IActivityManager.DeleteBeforeAsync(DateTime, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.