Язык

DbCommandInterceptionContext.AsAsync Метод

Определение

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

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

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

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

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