Partilhar via


StateActivity.Cancel(ActivityExecutionContext) Método

Definição

Cancela a execução do StateActivity.

protected:
 override System::Workflow::ComponentModel::ActivityExecutionStatus Cancel(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
protected override System.Workflow.ComponentModel.ActivityExecutionStatus Cancel (System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
override this.Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides Function Cancel (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

Parâmetros

executionContext
ActivityExecutionContext

O contexto de execução da atividade.

Retornos

O status atual do Activity na instância de fluxo de trabalho em execução.

Aplica-se a

Confira também