Share via


DbTransactionInterceptionContext<TResult>.AsAsync Method

Definition

Creates a new DbTransactionInterceptionContext<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.DbTransactionInterceptionContext<TResult> AsAsync ();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext<'Result>
Public Function AsAsync () As DbTransactionInterceptionContext(Of TResult)

Returns

A new interception context associated with the async flag set.

Applies to