Share via


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

  • 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.

See Also

Reference

IPSWorkflowService Interface

IPSWorkflowService Members

Microsoft.Office.Project.Server.Library Namespace