ChannelDispatcher::TransactionIsolationLevel Property
Gets or sets the default isolation level for transactions.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property IsolationLevel TransactionIsolationLevel { IsolationLevel get(); void set(IsolationLevel value); }
Property Value
Type: System.Transactions::IsolationLevelOne of the IsolationLevel values. The default is Unspecified.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The isolation level set is not defined. |
| InvalidOperationException | |
| ObjectDisposedException | |
| CommunicationObjectFaultedException | The communication object is in a Faulted state. |
Use the TransactionIsolationLevel property to get or set the default isolation level for new transactions created by the dispatcher for the service.
This property can only be set when the instance of the ChannelDispatcher is in the Created state, as this is the only state that is both mutable and not disposed.
Available since 3.0