OnProjectSubmit.Cancel Method
Cancels the OnProjectSubmit 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
- executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContext
The execution environment of a Project Server workflow activity.
Return Value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus