DbConnectionDispatcher.OpenAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
への呼び出しOpened(DbConnection, DbConnectionInterceptionContext)を行う前または後にDbInterception登録されている 任意IDbConnectionInterceptorの に と を送信Opening(DbConnection, DbConnectionInterceptionContext)しますOpen()。
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
パラメーター
- connection
- DbConnection
操作が実行される接続。
- interceptionContext
- DbInterceptionContext
行われる呼び出しのコンテキストに関するオプションの情報。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
非同期操作を表すタスク。