CommitFailureHandler.ClearTransactionHistoryAsync Method
Asynchronously removes all the transaction history.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ClearTransactionHistoryAsync() | Asynchronously removes all the transaction history. |
![]() | ClearTransactionHistoryAsync(CancellationToken) | Asynchronously removes all the transaction history. |
CommitFailureHandler.ClearTransactionHistoryAsync Method ()
Asynchronously removes all the transaction history.
This method should only be invoked when there are no active transactions to remove any leftover history that was not deleted due to catastrophic failures
CommitFailureHandler.ClearTransactionHistoryAsync Method (CancellationToken)
Asynchronously removes all the transaction history.
[DebuggerStepThroughAttribute] public virtual Task ClearTransactionHistoryAsync( CancellationToken cancellationToken )
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
This method should only be invoked when there are no active transactions to remove any leftover history that was not deleted due to catastrophic failures