Sprache

BeginTransactionInterceptionContext.WithIsolationLevel(IsolationLevel) Methode

Definition

Erstellt eine neue BeginTransactionInterceptionContext , die alle kontextbezogenen Informationen in diesem Abfangenkontext zusammen mit dem angegebenen IsolationLevelenthält.

public System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext WithIsolationLevel(System.Data.IsolationLevel isolationLevel);
member this.WithIsolationLevel : System.Data.IsolationLevel -> System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext

Parameter

isolationLevel
IsolationLevel

Die isolationsstufe, die zugeordnet werden soll.

Gibt zurück

Ein neuer Abfangenkontext, der der angegebenen Isolationsstufe zugeordnet ist.

Gilt für: