StateActivity.Cancel Method (ActivityExecutionContext)

 

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
Available since 3.0
Return to top
Show: