Sprache

DbConnectionInterceptionContext<TResult>.AsAsync Methode

Definition

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

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

Gibt zurück

Ein neuer Abfangenkontext, der dem asynchronen Flagsatz zugeordnet ist.

Gilt für: