Udostępnij przez


DbCommandInterceptionContext<TResult>.AsAsync Metoda

Definicja

Tworzy nową, DbCommandInterceptionContext<TResult> która zawiera wszystkie informacje kontekstowe w tym kontekście przechwytywania wraz z flagą IsAsync ustawioną na true.

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

Zwraca

Nowy kontekst przechwytywania skojarzony z zestawem flag asynchronicznych.

Dotyczy