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 的任何動作。

適用於