PSWorkflowService.BeforeWorkflowRun-Methode
Bevor Sie der Workflow startet, schreibt eine Nachricht in das ULS-Protokoll.
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
)
Parameter
workflow
Typ: Microsoft.SharePoint.Workflow.SPWorkflowDie GUID der Project Server-Workflows.
pendingWork
Typ: System.Workflow.Runtime.IPendingWorkEine Instanz eines Objekts IPendingWork für Workflowtransaktionen.
Hinweise
Die ULS-Nachricht ist, "BeforeWorkflowRun für den Workflow eingeben: InstanceId < GUID > =".