IDurableOrchestrationClient.PurgeInstanceHistoryAsync 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.
Overloads
PurgeInstanceHistoryAsync(String) |
Purge the history for a concrete instance. |
PurgeInstanceHistoryAsync(DateTime, Nullable<DateTime>, IEnumerable<OrchestrationStatus>) |
Purge the orchestration history for instances that match the conditions. |
PurgeInstanceHistoryAsync(String)
Purge the history for a concrete instance.
public System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult> PurgeInstanceHistoryAsync (string instanceId);
abstract member PurgeInstanceHistoryAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult>
Public Function PurgeInstanceHistoryAsync (instanceId As String) As Task(Of PurgeHistoryResult)
Parameters
- instanceId
- String
The ID of the orchestration instance to purge.
Returns
Returns an instance of PurgeHistoryResult.
Applies to
PurgeInstanceHistoryAsync(DateTime, Nullable<DateTime>, IEnumerable<OrchestrationStatus>)
Purge the orchestration history for instances that match the conditions.
public System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult> PurgeInstanceHistoryAsync (DateTime createdTimeFrom, DateTime? createdTimeTo, System.Collections.Generic.IEnumerable<DurableTask.Core.OrchestrationStatus> runtimeStatus);
abstract member PurgeInstanceHistoryAsync : DateTime * Nullable<DateTime> * seq<DurableTask.Core.OrchestrationStatus> -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult>
Public Function PurgeInstanceHistoryAsync (createdTimeFrom As DateTime, createdTimeTo As Nullable(Of DateTime), runtimeStatus As IEnumerable(Of OrchestrationStatus)) As Task(Of PurgeHistoryResult)
Parameters
- createdTimeFrom
- DateTime
Start creation time for querying instances for purging.
- runtimeStatus
- IEnumerable<DurableTask.Core.OrchestrationStatus>
List of runtime status for querying instances for purging. Only Completed, Terminated, or Failed will be processed.
Returns
Returns an instance of PurgeHistoryResult.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應