DbCommandInterceptionContext.AsAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un nouveau DbCommandInterceptionContext qui contient toutes les informations contextuelles dans ce contexte d’interception dont l’indicateur IsAsync est défini sur true.
public System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext AsAsync();
override this.AsAsync : unit -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
Public Function AsAsync () As DbCommandInterceptionContext
Retours
Nouveau contexte d’interception associé au jeu d’indicateurs asynchrones.