Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 static property bool ImplicitDistributedTransactions { bool get(); void set(bool value); };
public static bool ImplicitDistributedTransactions { get; [System.Runtime.Versioning.SupportedOSPlatform("windows")] set; }
[<set: System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member ImplicitDistributedTransactions : bool with get, set
Public Shared Property ImplicitDistributedTransactions As Boolean

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