Activity.Cancel(ActivityExecutionContext) Methode

Definitie

Wordt aangeroepen door de werkstroomruntime om de uitvoering van een activiteit te annuleren die momenteel wordt uitgevoerd.

protected public:
 virtual System::Workflow::ComponentModel::ActivityExecutionStatus Cancel(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
protected internal virtual System.Workflow.ComponentModel.ActivityExecutionStatus Cancel(System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
abstract member Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
override this.Cancel : System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Friend Overridable Function Cancel (executionContext As ActivityExecutionContext) As ActivityExecutionStatus

Parameters

executionContext
ActivityExecutionContext

De ActivityExecutionContext instantie die moet worden geannuleerd.

Retouren

De status aan het einde van de bewerking die bepaalt of de activiteit de status annuleren of overgangen naar de gesloten status blijft hebben.

Van toepassing op