DbContext.IDbContextPoolable.SetLeaseAsync 메서드

정의

이 API는 Entity Framework Core 인프라를 지원하며 공용 API와 동일한 호환성 표준이 적용되지 않는 내부 API입니다. 릴리스에서 예고 없이 변경되거나 제거될 수 있습니다. 코드에서 직접 사용해야 하며, 이렇게 하면 새 Entity Framework Core 릴리스로 업데이트할 때 애플리케이션 오류가 발생할 수 있다는 것을 알고 있어야 합니다.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
System.Threading.Tasks.Task IDbContextPoolable.SetLeaseAsync (Microsoft.EntityFrameworkCore.Internal.DbContextLease lease, System.Threading.CancellationToken cancellationToken);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLeaseAsync : Microsoft.EntityFrameworkCore.Internal.DbContextLease * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLeaseAsync : Microsoft.EntityFrameworkCore.Internal.DbContextLease * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function SetLeaseAsync (lease As DbContextLease, cancellationToken As CancellationToken) As Task Implements IDbContextPoolable.SetLeaseAsync

매개 변수

lease
Microsoft.EntityFrameworkCore.Internal.DbContextLease
cancellationToken
CancellationToken

반환

구현

Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable.SetLeaseAsync(Microsoft.EntityFrameworkCore.Internal.DbContextLease,System.Threading.CancellationToken)
특성

적용 대상