Share via


DbConnectionPropertyInterceptionContext<TValue>.AsAsync Method

Definition

Creates a new DbConnectionPropertyInterceptionContext<TValue> that contains all the contextual information in this interception context together with the IsAsync flag set to true.

public System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<TValue> AsAsync ();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<'Value>
Public Function AsAsync () As DbConnectionPropertyInterceptionContext(Of TValue)

Returns

A new interception context associated with the async flag set.

Applies to