Bagikan melalui


DurabilityProvider.PurgeInstanceHistoryByInstanceId(String) Method

Definition

Purges the instance history for the provided instance id.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult> PurgeInstanceHistoryByInstanceId (string instanceId);
abstract member PurgeInstanceHistoryByInstanceId : string -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult>
override this.PurgeInstanceHistoryByInstanceId : string -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.PurgeHistoryResult>
Public Overridable Function PurgeInstanceHistoryByInstanceId (instanceId As String) As Task(Of PurgeHistoryResult)

Parameters

instanceId
String

The instance id for the instance history to purge.

Returns

The number of instances purged.

Applies to