Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EntityConnection::OpenAsync Method

Entity Framework 6.0
 

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodOpenAsync()

(Inherited from DbConnection.)

System_CAPS_pubmethodOpenAsync(CancellationToken)

Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider(Overrides DbConnection::OpenAsync(CancellationToken).)

Return to top

EntityConnection::OpenAsync Method (CancellationToken)

Asynchronously establishes a connection to the data store by calling the Open method on the underlying data provider

public:
[DebuggerStepThroughAttribute]
virtual Task^ OpenAsync(
	CancellationToken cancellationToken
) override

Parameters

cancellationToken
Type: System.Threading::CancellationToken

A CancellationToken to observe while waiting for the task to complete.

Return Value

Type: System.Threading.Tasks::Task^

A task that represents the asynchronous operation.

Return to top
Show: