SqlWorkflowPersistenceService.IPendingWork.Complete 方法

定义

完成工作批次并释放任何资源。

 virtual void System.Workflow.Runtime.IPendingWork.Complete(bool succeeded, System::Collections::ICollection ^ items) = System::Workflow::Runtime::IPendingWork::Complete;
void IPendingWork.Complete (bool succeeded, System.Collections.ICollection items);
abstract member System.Workflow.Runtime.IPendingWork.Complete : bool * System.Collections.ICollection -> unit
override this.System.Workflow.Runtime.IPendingWork.Complete : bool * System.Collections.ICollection -> unit
Sub Complete (succeeded As Boolean, items As ICollection) Implements IPendingWork.Complete

参数

succeeded
Boolean

如果提交成功,则为 true,否则为 false

items
ICollection

序列化状态对象的 ICollection

实现

注解

SqlWorkflowPersistenceService 的现成可用实现中,
IPendingWork.Complete 为 no-op(不执行任何操作)。 如果您继承并扩展了 SqlWorkflowPersistenceService 类,则可以使用 IPendingWork.Complete,对实现所指示的 items 执行任何所需的操作。

适用于