TransactionManager.ImplicitDistributedTransactions Propriedade

Definição

Obtém ou define um valor que indica se o uso de System.Transactions APIs que exigem escalonamento para uma transação distribuída o fará.

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 da propriedade

true se as APIs de transações forem aceitas na transação distribuída; false se uma NotSupportedException é gerada quando as APIs de transações são escalonada para uma transação distribuída. O padrão é false.

Atributos

Aplica-se a