CallExternalMethodActivity.Execute(ActivityExecutionContext) Method

Definition

Tries to run the CallExternalMethodActivity with the specified ActivityExecutionContext.

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

Parameters

executionContext
ActivityExecutionContext

The ActivityExecutionContext that contains the execution environment in which to run the CallExternalMethodActivity.

Returns

One of the ActivityExecutionStatus values.

Exceptions

This InterfaceType is a null reference (Nothing in Visual Basic).

executionContext is a null reference (Nothing in Visual Basic).

The service object for the executionContext is a null reference (Nothing in Visual Basic).

Applies to

See also