แก้ไข

แชร์ผ่าน


CallbackBehaviorAttribute.TransactionIsolationLevel Property

Definition

Specifies the transaction isolation level.

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

Property Value

A IsolationLevel value that specifies the transaction isolation level. The default is Unspecified.

Exceptions

The value is not one of the IsolationLevel values.

Remarks

The isolation level in which your transaction runs determines how data is treated when changes are made in other transactions and how long your transaction must hold locks to protect against these changes. For example, the default value, Unspecified, specifies that no updating or inserting can occur until the transaction is complete.

Applies to