Share via


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

Return value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
An enumerated value that corresponds to the status of an activity within a running workflow instance.

See also

Reference

OnProjectSubmit class

OnProjectSubmit members

Microsoft.Office.Project.Server.Workflow namespace