TransactionManager.ImplicitDistributedTransactions Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of het gebruik van System.Transactions API's die escalatie naar een gedistribueerde transactie vereisen, dit doet.

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

Waarde van eigenschap

true als transactie-API's zijn gekozen voor gedistribueerde transacties; false als er een NotSupportedException wordt gegenereerd wanneer transactie-API's escaleren naar een gedistribueerde transactie. De standaardwaarde is false.

Kenmerken

Van toepassing op