CallbackBehaviorAttribute::TransactionIsolationLevel Property

 

Specifies the transaction isolation level.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property IsolationLevel TransactionIsolationLevel {
	IsolationLevel get();
	void set(IsolationLevel value);
}

Property Value

Type: System.Transactions::IsolationLevel

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

Exception Condition
ArgumentOutOfRangeException

The value is not one of the IsolationLevel values.

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.

.NET Framework
Available since 3.0
Return to top
Show: