SPWorkflowEventReceiver class

This is the base class for Workflow Event Receivers. This class is never instantiated.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPEventReceiverBase
    Microsoft.SharePoint.Workflow.SPWorkflowEventReceiver
      Microsoft.SharePoint.WorkflowServices.WorkflowInteropEventReceiver

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

Syntax

'Declaration
Public Class SPWorkflowEventReceiver _
    Inherits SPEventReceiverBase _
    Implements ISPWorkflowEventReceiver
'Usage
Dim instance As SPWorkflowEventReceiver
public class SPWorkflowEventReceiver : SPEventReceiverBase, 
    ISPWorkflowEventReceiver

Remarks

A workflow event receiver class must derive from this class and override the methods for the event types it wants to handle.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPWorkflowEventReceiver members

Microsoft.SharePoint.Workflow namespace