EntityConnection.OpenAsync Method
Namespace:
System.Data.Entity.Core.EntityClient
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | OpenAsync() | (Inherited from DbConnection.) |
![]() | OpenAsync(CancellationToken) | Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider(Overrides DbConnection.OpenAsync(CancellationToken).) |
EntityConnection.OpenAsync Method (CancellationToken)
Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider
[DebuggerStepThroughAttribute] public override Task OpenAsync( CancellationToken cancellationToken )
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationToken
A CancellationToken to observe while waiting for the task to complete.