共用方式為


SubordinateTransaction(IsolationLevel, ISimpleTransactionSuperior) 建構函式

定義

初始化 SubordinateTransaction 類別的新執行個體。

public:
 SubordinateTransaction(System::Transactions::IsolationLevel isoLevel, System::Transactions::ISimpleTransactionSuperior ^ superior);
public:
 SubordinateTransaction(System::Transactions::IsolationLevel level, System::Transactions::ISimpleTransactionSuperior ^ superior);
public SubordinateTransaction (System.Transactions.IsolationLevel isoLevel, System.Transactions.ISimpleTransactionSuperior superior);
public SubordinateTransaction (System.Transactions.IsolationLevel level, System.Transactions.ISimpleTransactionSuperior superior);
new System.Transactions.SubordinateTransaction : System.Transactions.IsolationLevel * System.Transactions.ISimpleTransactionSuperior -> System.Transactions.SubordinateTransaction
new System.Transactions.SubordinateTransaction : System.Transactions.IsolationLevel * System.Transactions.ISimpleTransactionSuperior -> System.Transactions.SubordinateTransaction
Public Sub New (isoLevel As IsolationLevel, superior As ISimpleTransactionSuperior)
Public Sub New (level As IsolationLevel, superior As ISimpleTransactionSuperior)

參數

isoLevellevel
IsolationLevel

交易的隔離等級。

備註

注意

只能針對指定的 ISimpleTransactionSuperior 建立一個 SubordinateTransaction

適用於