語言

ServiceConfig.IsolationLevel 屬性

定義

取得或設定交易的隔離層級。

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

屬性值

這是其中一項 TransactionIsolationLevel 價值。 預設值為 Any。

備註

若包裹交易未在指定的隔離層級執行,則會建立新交易。 IsolationLevel 如果包裹的程式碼在交易中不會執行,則會被忽略。

適用於