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
- executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContext
The execution context.
Return Value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The execution status.