IPSWorkflowService.CleanupAfterWF Method
Marks a workflow stage as completed, or completed with errors.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Sub CleanupAfterWF ( _
workflowContext As ProjectWorkflowContext, _
error As Boolean _
)
'Usage
Dim instance As IPSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim error As Boolean
instance.CleanupAfterWF(workflowContext, _
error)
void CleanupAfterWF(
ProjectWorkflowContext workflowContext,
bool error
)
Parameters
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- error
Type: System.Boolean
True if there is an error in the workflow; otherwise, false.
Remarks
The CleanupAfterWF method is used when the workflow completes a stage or when it encounters an error.