語言

CommitFailureHandler.PruneTransactionHistory 方法

定義

多載

名稱 Description
PruneTransactionHistory()

移除標記為刪除交易。

PruneTransactionHistory(Boolean, Boolean)

若交易數量超過 PruningLimit,則移除標記刪除的交易。

PruneTransactionHistory()

移除標記為刪除交易。

public void PruneTransactionHistory();
member this.PruneTransactionHistory : unit -> unit
Public Sub PruneTransactionHistory ()

適用於

PruneTransactionHistory(Boolean, Boolean)

若交易數量超過 PruningLimit,則移除標記刪除的交易。

protected virtual void PruneTransactionHistory(bool force, bool useExecutionStrategy);
abstract member PruneTransactionHistory : bool * bool -> unit
override this.PruneTransactionHistory : bool * bool -> unit
Protected Overridable Sub PruneTransactionHistory (force As Boolean, useExecutionStrategy As Boolean)

參數

force
Boolean

若設定為 , true 即使交易數量不超過 PruningLimit,也會移除所有舊交易。

useExecutionStrategy
Boolean

若設定為 true ,則 將使用相應的執行策略執行

適用於