StateActivity.Cancel Method (ActivityExecutionContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: