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
protected override sealed ActivityExecutionStatus Cancel(
    ActivityExecutionContext executionContext
)
protected:
virtual ActivityExecutionStatus Cancel(
    ActivityExecutionContext^ executionContext
) override sealed
function cancel(executionContext);

Parameters

  • executionContext
    Type: ActivityExecutionContext
    The execution context.

Return Value

The execution status.

See Also

CommandActivity Class

Microsoft.Rtc.Workflow.Activities Namespace