CommitFailureHandler.ClearTransactionHistoryAsync Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ClearTransactionHistoryAsync() | 
						 Asynchronously removes all the transaction history.  | 
        	
| ClearTransactionHistoryAsync(CancellationToken) | 
						 Asynchronously removes all the transaction history.  | 
        	
ClearTransactionHistoryAsync()
Asynchronously removes all the transaction history.
public System.Threading.Tasks.Task ClearTransactionHistoryAsync();
	member this.ClearTransactionHistoryAsync : unit -> System.Threading.Tasks.Task
	Public Function ClearTransactionHistoryAsync () As Task
	Returns
A task that represents the asynchronous operation.
Remarks
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
Applies to
ClearTransactionHistoryAsync(CancellationToken)
Asynchronously removes all the transaction history.
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task ClearTransactionHistoryAsync(System.Threading.CancellationToken cancellationToken);
	abstract member ClearTransactionHistoryAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ClearTransactionHistoryAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
	Parameters
- cancellationToken
 - CancellationToken
 
The cancellation token.
Returns
A task that represents the asynchronous operation.
- Attributes
 
Remarks
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