SqlWorkflowPersistenceService.IPendingWork.MustCommit(ICollection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,指示序列化狀態物件的集合是否應該寫入資料庫。
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) 。