TransactionManager.ImplicitDistributedTransactions Property

Definition

Gets or sets a value that indicates whether usage of System.Transactions APIs that require escalation to a distributed transaction will do so.

C#
public static bool ImplicitDistributedTransactions { get; [System.Runtime.Versioning.SupportedOSPlatform("windows")] set; }

Property Value

true if transactions APIs are opted into distributed transaction; false if a NotSupportedException is thrown when transactions APIs escalate to a distributed transaction. The default is false.

Attributes

Applies to

Product Versions
.NET 7, 8, 9, 10