RelationalTransaction.ClearTransactionAsync(CancellationToken) 方法

定义

从连接中删除基础事务

protected virtual System.Threading.Tasks.Task ClearTransactionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ClearTransactionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ClearTransactionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function ClearTransactionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

参数

cancellationToken
CancellationToken

返回

适用于