Freigeben über


CommitFailureHandler.PruneTransactionHistoryAsync-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Entfernt alle Transaktionen, die zur Löschung markiert sind, asynchron.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public Function PruneTransactionHistoryAsync As Task
'Usage
Dim instance As CommitFailureHandler 
Dim returnValue As Task 

returnValue = instance.PruneTransactionHistoryAsync()
public Task PruneTransactionHistoryAsync()
public:
Task^ PruneTransactionHistoryAsync()
member PruneTransactionHistoryAsync : unit -> Task
public function PruneTransactionHistoryAsync() : Task

Rückgabewert

Typ: System.Threading.Tasks.Task
Eine Aufgabe, die den asynchronen Vorgang darstellt.

Siehe auch

Verweis

CommitFailureHandler Klasse

PruneTransactionHistoryAsync-Überladung

System.Data.Entity.Infrastructure-Namespace