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.ActivityExecutionContextThe execution environment of a Project Server workflow activity.
Return value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
An enumerated value that corresponds to the status of an activity within a running workflow instance.