TransactionManager.ImplicitDistributedTransactions Свойство

Определение

Возвращает или задает значение, указывающее, будет ли System.Transactions использование API, требующих эскалации распределенной транзакции.

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

Значение свойства

true Значение , если API транзакций выбираются в распределенную транзакцию; false Значение NotSupportedException , если api-интерфейсы транзакций передаются в распределенную транзакцию. Значение по умолчанию — false.

Атрибуты

Применяется к