Freigeben über


DbCommandInterceptionContext.AsAsync Methode

Definition

Erstellt eine neue DbCommandInterceptionContext , die alle Kontextinformationen in diesem Abhörkontext enthält, die das IsAsync Flag auf true festgelegt hat.

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

Gibt zurück

Ein neuer Abhörkontext, der dem asynchronen Flagsatz zugeordnet ist.

Gilt für: