SqlWorkflowPersistenceService.IPendingWork.Commit(Transaction, ICollection) 方法

定義

將序列化狀態物件的 ICollection 寫入資料庫中。Writes an ICollection of serialized state objects to the database.

 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

參數

items
ICollection

要寫入資料庫中的工作項目的 ICollectionThe ICollection of work items to be written to the database.

實作

例外狀況

嘗試寫入資料庫時,發生錯誤。An error occurred while trying to write to the database.

備註

包含在 items 中的序列化狀態物件會寫入資料庫中。The serialized state objects that are contained in items are written to the database.

適用於