Compartilhar via


DbConnectionDispatcher.OpenAsync Método

Definição

public virtual System.Threading.Tasks.Task OpenAsync (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext, System.Threading.CancellationToken cancellationToken);
abstract member OpenAsync : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OpenAsync : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parâmetros

connection
DbConnection

A conexão na qual a operação será executada.

interceptionContext
DbInterceptionContext

Informações opcionais sobre o contexto da chamada que está sendo feita.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Uma tarefa que representa a operação assíncrona.

Aplica-se a