DbConnectionInterceptionContext<TResult>.AsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbConnectionInterceptionContext<TResult> that contains all the contextual information in this interception context together with the IsAsync flag set to true.
public System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<TResult> AsAsync ();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<'Result>
Public Function AsAsync () As DbConnectionInterceptionContext(Of TResult)
Returns
A new interception context associated with the async flag set.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework