共用方式為


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 沒有任何作業。 如果您繼承並擴充 SqlWorkflowPersistenceService 類別,可以使用 IPendingWork.Complete 來執行在您的實作指定的 items 上所需的任何動作。

適用於