共用方式為


SqlWorkflowPersistenceService.IPendingWork.Commit 方法

定義

將序列化狀態物件的 ICollection 寫入資料庫中。

 virtual void System.Workflow.Runtime.IPendingWork.Commit(System::Transactions::Transaction ^ transaction, System::Collections::ICollection ^ items) = System::Workflow::Runtime::IPendingWork::Commit;
void IPendingWork.Commit (System.Transactions.Transaction transaction, System.Collections.ICollection items);
abstract member System.Workflow.Runtime.IPendingWork.Commit : System.Transactions.Transaction * System.Collections.ICollection -> unit
override this.System.Workflow.Runtime.IPendingWork.Commit : System.Transactions.Transaction * System.Collections.ICollection -> unit
Sub Commit (transaction As Transaction, items As ICollection) Implements IPendingWork.Commit

參數

transaction
Transaction

Transaction

items
ICollection

要寫入資料庫中的工作項目的 ICollection

實作

例外狀況

嘗試寫入資料庫時,發生錯誤。

備註

包含在 items 中的序列化狀態物件會寫入資料庫中。

適用於