SqlWorkflowPersistenceService.IPendingWork.Complete(Boolean, ICollection) Method

Definition

Completes the work batch and releases any resources.

 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

Parameters

succeeded
Boolean

true if the commit succeeded; otherwise, false.

items
ICollection

An ICollection of serialized state objects.

Implements

Remarks

In the out-of-box implementation of the SqlWorkflowPersistenceService,
IPendingWork.Complete is a no-op. If you inherit from and extend the SqlWorkflowPersistenceService class, you may use IPendingWork.Complete to perform any actions required on items dictated by your implementation.

Applies to