Sprache

CommitFailureHandler.PruneTransactionHistoryAsync Methode

Definition

Überlädt

Name Beschreibung
PruneTransactionHistoryAsync()

Entfernt asynchron die zum Löschen markierten Transaktionen.

PruneTransactionHistoryAsync(CancellationToken)

Entfernt asynchron die zum Löschen markierten Transaktionen.

PruneTransactionHistoryAsync(Boolean, Boolean, CancellationToken)

Entfernt die zum Löschen markierten Transaktionen, wenn ihre Anzahl überschritten wird PruningLimit.

PruneTransactionHistoryAsync()

Entfernt asynchron die zum Löschen markierten Transaktionen.

public System.Threading.Tasks.Task PruneTransactionHistoryAsync();
member this.PruneTransactionHistoryAsync : unit -> System.Threading.Tasks.Task
Public Function PruneTransactionHistoryAsync () As Task

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Gilt für:

PruneTransactionHistoryAsync(CancellationToken)

Entfernt asynchron die zum Löschen markierten Transaktionen.

public System.Threading.Tasks.Task PruneTransactionHistoryAsync(System.Threading.CancellationToken cancellationToken);
member this.PruneTransactionHistoryAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameter

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Gilt für:

PruneTransactionHistoryAsync(Boolean, Boolean, CancellationToken)

Entfernt die zum Löschen markierten Transaktionen, wenn ihre Anzahl überschritten wird PruningLimit.

[System.Diagnostics.DebuggerStepThrough]
protected virtual System.Threading.Tasks.Task PruneTransactionHistoryAsync(bool force, bool useExecutionStrategy, System.Threading.CancellationToken cancellationToken);
abstract member PruneTransactionHistoryAsync : bool * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.PruneTransactionHistoryAsync : bool * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameter

force
Boolean

wenn festgelegt, true dass alle alten Transaktionen entfernt werden, auch wenn ihre Zahl nicht überschritten wird PruningLimit.

useExecutionStrategy
Boolean

wenn der true Vorgang mithilfe der zugeordneten Ausführungsstrategie ausgeführt wird

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Attribute

Gilt für: