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)

适用于