Share via


DbInterceptionContext.AsAsync Method

Definition

Creates a new DbInterceptionContext that contains all the contextual information in this interception context the IsAsync flag set to true.

public System.Data.Entity.Infrastructure.Interception.DbInterceptionContext AsAsync ();
member this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbInterceptionContext
Public Function AsAsync () As DbInterceptionContext

Returns

A new interception context associated with the async flag set.

Applies to