TransactionScope.IsolationLevel 属性

定义

获取或设置此 IsolationLevelTransactionScope

public:
 property System::Transactions::IsolationLevel IsolationLevel { System::Transactions::IsolationLevel get(); void set(System::Transactions::IsolationLevel value); };
public System.Transactions.IsolationLevel IsolationLevel { get; set; }
member this.IsolationLevel : System.Transactions.IsolationLevel with get, set
Public Property IsolationLevel As IsolationLevel

属性值

用于此 IsolationLevelTransactionScope

注解

此属性在运行时为只读。 如果在运行时设置值,则会引发 InvalidOperationException

适用于