Язык

DbCommandTreeInterceptionContext.AsAsync Метод

Определение

Создает новый DbCommandTreeInterceptionContext объект, содержащий все контекстные сведения в этом контексте перехвата, для флага IsAsync задано значение true.

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

Возвращаемое значение

Новый контекст перехвата, связанный с набором асинхронных флагов.

Применяется к