TransactionManager.ImplicitDistributedTransactions プロパティ

定義

分散トランザクションへのエスカレーションを必要とする 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 が分散トランザクションにオプトインされている場合。トランザクション API が分散トランザクションにエスカレートされたときにNotSupportedExceptionがスローされた場合にfalseします。 既定値は false です。

属性

適用対象