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)
'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
)
workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflowThe workflow instance that will run after this method is executed.
pendingWork
Type: System.Workflow.Runtime.IPendingWorkThe pending work batch for the workflow instance.
This method is called before the specified workflow is executed.
SPWorkflowExternalDataExchangeService class