FindValueActivity.Execute Method

Called by the workflow runtime to execute the activity.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Protected Overrides Function Execute ( _
    context As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim context As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Execute(context)
protected override ActivityExecutionStatus Execute(
    ActivityExecutionContext context
)

Parameters

Return Value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The ActivityExecutionStatus of the active workflow task, which determines whether the workflow activity continues to be executed or transitions to the closed state.

Remarks

The ActivityExecutionContext is used to retrieve information about the active workflow. It is also used to obtain services from the runtime environment.

The workflow activity occurs synchronously and returns control to the caller when the activity is completed or when the activity reaches an intermediate state.

See Also

Reference

FindValueActivity Class

FindValueActivity Members

Microsoft.SharePoint.WorkflowActions Namespace