共用方式為


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

傳回

適用於