Export (0) Print
Expand All

StateActivity.Cancel Method

Cancels the execution of the StateActivity.

Namespace:  System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

protected override ActivityExecutionStatus Cancel(
	ActivityExecutionContext executionContext
)

Parameters

executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContext

The execution context for the activity.

Return Value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The current status of the Activity in the running workflow instance.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft