Sprache

DbCommandInterceptionContext<TResult>.AsAsync Methode

Definition

Erstellt eine neue DbCommandInterceptionContext<TResult> , die alle kontextbezogenen Informationen in diesem Abfangenkontext zusammen mit dem IsAsync Kennzeichen auf "true" enthält.

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

Gibt zurück

Ein neuer Abfangenkontext, der dem asynchronen Flagsatz zugeordnet ist.

Gilt für: