Partilhar via


CommandActivity.Cancel Method

Cancels the execution of the command.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Protected Overrides NotOverridable Function Cancel ( _
    executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Cancel(executionContext)
protected override sealed ActivityExecutionStatus Cancel(
    ActivityExecutionContext executionContext
)

Parameters

Return Value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The execution status.

See Also

Reference

CommandActivity Class

CommandActivity Members

Microsoft.Rtc.Workflow.Activities Namespace