NativeActivityTransactionContext.SetRuntimeTransaction(Transaction) 方法

定义

向运行时提供指定的事务。

public:
 void SetRuntimeTransaction(System::Transactions::Transaction ^ transaction);
public void SetRuntimeTransaction (System.Transactions.Transaction transaction);
member this.SetRuntimeTransaction : System.Transactions.Transaction -> unit
Public Sub SetRuntimeTransaction (transaction As Transaction)

参数

transaction
Transaction

事务。

适用于