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)
Available in Sandboxed Solutions: No
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
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.
Remarks
This method is called before the specified workflow is executed.
See Also
Reference
SPWorkflowExternalDataExchangeService Class