Udostępnij przez


DbCommandInterceptionContext.AsAsync Metoda

Definicja

Tworzy nowy DbCommandInterceptionContext , który zawiera wszystkie informacje kontekstowe w tym kontekście przechwytywania flaga ustawiona IsAsync na wartość true.

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

Zwraca

Nowy kontekst przechwytywania skojarzony z zestawem flag asynchronicznych.

Dotyczy