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)

适用于