Activity.Execute(ActivityExecutionContext) Methode

Definitie

Aangeroepen door de werkstroomruntime om een activiteit uit te voeren.

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

Parameters

executionContext
ActivityExecutionContext

De ActivityExecutionContext te koppelen aan deze Activity en uitvoering.

Retouren

De ActivityExecutionStatus uitvoeringstaak, die bepaalt of de activiteit de uitvoeringsstatus heeft, of overgangen naar de gesloten status.

Opmerkingen

Het ActivityExecutionContext wordt gebruikt om informatie op te halen over de momenteel actieve activiteit en werkstroom en wordt ook gebruikt om services te verkrijgen uit de runtime-omgeving.

De uitvoering wordt synchroon uitgevoerd en retourneert het besturingselement naar de beller wanneer de activiteit is voltooid of een tussenliggende status bereikt.

Van toepassing op