Condividi tramite


DbConnectionDispatcher.OpenAsync Metodo

Definizione

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

Parametri

connection
DbConnection

Connessione in cui verrà eseguita l'operazione.

interceptionContext
DbInterceptionContext

Informazioni facoltative sul contesto della chiamata effettuata.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Attività che rappresenta l'operazione asincrona.

Si applica a