SqlWorkflowPersistenceService.IPendingWork.Commit 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將序列化狀態物件的 an 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
- items
- ICollection
要 ICollection 寫入資料庫的工作項目。
實作
例外狀況
嘗試寫入資料庫時發生錯誤。
備註
所包含 items 的序列化狀態物件會寫入資料庫。