TransactionManager.ImplicitDistributedTransactions Özellik

Tanım

Dağıtılmış bir işleme yükseltme gerektiren API'lerin kullanımının System.Transactions bunu yapıp yapmadığını gösteren bir değer alır veya ayarlar.

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

Özellik Değeri

true işlem API'leri dağıtılmış işleme kabul edilirse; false İşlem API'leri dağıtılmış bir işleme yükseltildiğinde a NotSupportedException oluşturulursa. Varsayılan değer: false.

Öznitelikler

Şunlara uygulanır