다음을 통해 공유


DbConnectionDispatcher.OpenAsync 메서드

정의

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

취소 토큰입니다.

반환

비동기 작업(operation)을 나타내는 작업(task)입니다.

적용 대상