Share via


SPWorkflowExternalDataExchangeService.CallEventHandler method

When overridden in a derived class, calls the specified workflow event handler when an event is raised.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public MustOverride 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 SPWorkflowExternalDataExchangeService
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 abstract void CallEventHandler(
    Type eventType,
    string eventName,
    Object[] eventData,
    SPWorkflow workflow,
    string identity,
    IPendingWork workHandler,
    Object workItem
)

Parameters

  • eventType
    Type: System.Type

    The type of the raised event.

  • eventData
    Type: []

    The data to be passed to the event handler.

  • identity
    Type: System.String

    The ID of the user who is raising the event.

  • workItem
    Type: System.Object

    The object that contains the external code that raises the event.

Remarks

This method should be implemented in derived classes to call the workflow event handlers according to the specified eventType.

See also

Reference

SPWorkflowExternalDataExchangeService class

SPWorkflowExternalDataExchangeService members

Microsoft.SharePoint.Workflow namespace