次の方法で共有


PSWorkflowService.CallEventHandler Method

Used internally. Calls the event handler for the specified Project Server workflow event.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Public Overrides Sub CallEventHandler ( _
    eventType As Type, _
    eventName As String, _
    eventData As Object(), _
    workflow As SPWorkflow, _
    identity As String, _
    workHandler As IPendingWork, _
    workItem As Object _
)
'Usage
Dim instance As PSWorkflowService
Dim eventType As Type
Dim eventName As String
Dim eventData As Object()
Dim workflow As SPWorkflow
Dim identity As String
Dim workHandler As IPendingWork
Dim workItem As Object

instance.CallEventHandler(eventType, _
    eventName, eventData, workflow, identity, _
    workHandler, workItem)
public override void CallEventHandler(
    Type eventType,
    string eventName,
    Object[] eventData,
    SPWorkflow workflow,
    string identity,
    IPendingWork workHandler,
    Object workItem
)

Parameters

  • eventData
    Type: []
    The event data.
  • workItem
    Type: System.Object
    The work item, which is included in initialization of the event arguments.

Remarks

The CallEventHandler method writes the following message to the ULS log: "Entering CallEventHandler for workflow: InstanceId = <GUID>, eventName = <name of event>".

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace