TransactionManager.ImplicitDistributedTransactions Propiedad

Definición

Obtiene o establece un valor que indica si el uso de System.Transactions las API que requieren escalación a una transacción distribuida lo hará.

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

Valor de propiedad

true si las API de transacciones se han optado por la transacción distribuida; false si se produce una NotSupportedException excepción cuando las API de transacciones se escalan a una transacción distribuida. El valor predeterminado es false.

Atributos

Se aplica a