DbTransactionInterceptor.CreatedSavepointAsync Método

Definição

Chamado imediatamente após o EF chamar CommitAsync(CancellationToken).

public virtual System.Threading.Tasks.Task CreatedSavepointAsync (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData eventData, System.Threading.CancellationToken cancellationToken = default);
abstract member CreatedSavepointAsync : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreatedSavepointAsync : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEventData * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CreatedSavepointAsync (transaction As DbTransaction, eventData As TransactionEventData, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

transaction
DbTransaction

A transação.

eventData
TransactionEventData

Informações contextuais sobre conexão e transação.

cancellationToken
CancellationToken

Um CancellationToken a ser observado enquanto aguarda a conclusão da tarefa.

Retornos

Um Task representando a operação assíncrona.

Implementações

Aplica-se a