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) 。