SqlWorkflowPersistenceService.IPendingWork.MustCommit(ICollection) 方法

定義

回傳一個值,指示序列化狀態物件的集合是否應該寫入資料庫。

 virtual bool System.Workflow.Runtime.IPendingWork.MustCommit(System::Collections::ICollection ^ items) = System::Workflow::Runtime::IPendingWork::MustCommit;
bool IPendingWork.MustCommit(System.Collections.ICollection items);
abstract member System.Workflow.Runtime.IPendingWork.MustCommit : System.Collections.ICollection -> bool
override this.System.Workflow.Runtime.IPendingWork.MustCommit : System.Collections.ICollection -> bool
Function MustCommit (items As ICollection) As Boolean Implements IPendingWork.MustCommit

參數

items
ICollection

ICollection 組序列化狀態物件要寫入資料庫。

傳回

true 表示該批次應該被提交。

實作

備註

IPendingWork.MustCommit(ICollection) 總是回傳 true,指示工作流程執行時引擎在批次中呼叫 IPendingWork.MustCommit(ICollection)

適用於