Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Before the workflow starts to run, writes a message to the ULS log.
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
Public Overrides Sub BeforeWorkflowRun ( _
workflow As SPWorkflow, _
pendingWork As IPendingWork _
)
'Usage
Dim instance As PSWorkflowService
Dim workflow As SPWorkflow
Dim pendingWork As IPendingWork
instance.BeforeWorkflowRun(workflow, _
pendingWork)
public override void BeforeWorkflowRun(
SPWorkflow workflow,
IPendingWork pendingWork
)
Parameters
workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflowThe GUID of the Project Server workflow.
pendingWork
Type: System.Workflow.Runtime.IPendingWorkAn instance of an IPendingWork object, for workflow transactions.
Remarks
The ULS message is, "Entering BeforeWorkflowRun for workflow: InstanceId = <GUID>".