Sprache

DbCommandInterceptionContext.AsAsync Methode

Definition

Erstellt eine neue DbCommandInterceptionContext , die alle Kontextinformationen in diesem Abfangenkontext enthält, die das IsAsync Kennzeichen auf "true" festgelegt ist.

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 Abfangenkontext, der dem asynchronen Flagsatz zugeordnet ist.

Gilt für: