Share via


PersistOnCloseActivity.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 ( _
    executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

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

Parameters

Return value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
Returns ActivityExecutionStatus.

See also

Reference

PersistOnCloseActivity class

PersistOnCloseActivity members

Microsoft.SharePoint.WorkflowActions namespace