Udostępnij za pośrednictwem


MutableInterceptionContext<TResult>.AsAsync Metoda

Definicja

Tworzy nową, MutableInterceptionContext<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.MutableInterceptionContext<TResult> AsAsync ();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext<'Result>
Public Function AsAsync () As MutableInterceptionContext(Of TResult)

Zwraca

Nowy kontekst przechwytywania skojarzony z zestawem flag asynchronicznych.

Dotyczy