TransactionManager.ImplicitDistributedTransactions Egenskap

Definition

Hämtar eller anger ett värde som anger om användning av System.Transactions API:er som kräver eskalering till en distribuerad transaktion kommer att göra det.

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

Egenskapsvärde

true om api:er för transaktioner väljs till distribuerade transaktioner; false om en NotSupportedException genereras när transaktioners API:er eskaleras till en distribuerad transaktion. Standardvärdet är false.

Attribut

Gäller för