Share via


OnProjectCommit.Cancel Method

Cancels the OnProjectCommit workflow activity if it is currently executing.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Protected Overrides Function Cancel ( _
    executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Cancel(executionContext)
protected override ActivityExecutionStatus Cancel(
    ActivityExecutionContext executionContext
)

Parameters

Return Value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus

See Also

Reference

OnProjectCommit Class

OnProjectCommit Members

Microsoft.Office.Project.Server.Workflow Namespace