DurabilityProvider.PurgeHistoryByFilters 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.
Purges history that meet the required parameters.
public virtual System.Threading.Tasks.Task<int> PurgeHistoryByFilters (DateTime createdTimeFrom, DateTime? createdTimeTo, System.Collections.Generic.IEnumerable<DurableTask.Core.OrchestrationStatus> runtimeStatus);
abstract member PurgeHistoryByFilters : DateTime * Nullable<DateTime> * seq<DurableTask.Core.OrchestrationStatus> -> System.Threading.Tasks.Task<int>
override this.PurgeHistoryByFilters : DateTime * Nullable<DateTime> * seq<DurableTask.Core.OrchestrationStatus> -> System.Threading.Tasks.Task<int>
Public Overridable Function PurgeHistoryByFilters (createdTimeFrom As DateTime, createdTimeTo As Nullable(Of DateTime), runtimeStatus As IEnumerable(Of OrchestrationStatus)) As Task(Of Integer)
Parameters
- createdTimeFrom
- DateTime
Purge the history of orchestration instances which were created after this DateTime.
Purge the history of orchestration instances which were created before this DateTime.
- runtimeStatus
- IEnumerable<DurableTask.Core.OrchestrationStatus>
Purge the history of orchestration instances which matches the runtimeStatus.
Returns
The number of instances purged.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro