Share via


SPWorkflowExternalDataExchangeService.BeforeWorkflowRun method

When overridden in a derived class, represents the method that will be called before the specified workflow is executed.

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

Syntax

'Declaration
Public Overridable Sub BeforeWorkflowRun ( _
    workflow As SPWorkflow, _
    pendingWork As IPendingWork _
)
'Usage
Dim instance As SPWorkflowExternalDataExchangeService
Dim workflow As SPWorkflow
Dim pendingWork As IPendingWork

instance.BeforeWorkflowRun(workflow, _
    pendingWork)
public virtual void BeforeWorkflowRun(
    SPWorkflow workflow,
    IPendingWork pendingWork
)

Parameters

Remarks

This method is called before the specified workflow is executed.

See also

Reference

SPWorkflowExternalDataExchangeService class

SPWorkflowExternalDataExchangeService members

Microsoft.SharePoint.Workflow namespace