TransactionManager.ImplicitDistributedTransactions Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die Verwendung von System.Transactions APIs, die eine Eskalation zu einer verteilten Transaktion erfordern, dies tut.

public:
 static property bool ImplicitDistributedTransactions { bool get(); void set(bool value); };
public static bool ImplicitDistributedTransactions { get; [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Distributed transactions support may not be compatible with trimming. If your program creates a distributed transaction via System.Transactions, the correctness of the application cannot be guaranteed after trimming.")] [System.Runtime.Versioning.SupportedOSPlatform("windows")] set; }
[<set: System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Distributed transactions support may not be compatible with trimming. If your program creates a distributed transaction via System.Transactions, the correctness of the application cannot be guaranteed after trimming.")>]
[<set: System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member ImplicitDistributedTransactions : bool with get, set
Public Shared Property ImplicitDistributedTransactions As Boolean

Eigenschaftswert

true wenn Transaktionen APIs für verteilte Transaktionen angemeldet sind; false wird ausgelöst NotSupportedException , wenn Transaktionen APIs zu einer verteilten Transaktion eskalieren. Der Standardwert lautet false.

Attribute

Gilt für: