Share via


WorkflowInteropEventReceiver class

Supports SharePoint workflow interop by raising a completion event when a Windows Workflow Foundation 3 workflow has completed; the class then passes a notification to the Windows Workflow Foundation 4 workflow instance running in the Workflow Manager that initiated the operation.

This class enables interoperability between SharePoint 2010 workflows and SharePoint 2013 workflows, which are based on Windows Workflow Foundation 4, by allowing SharePoint 2013 workflow instances to register events on, and receive completion events from, Windows Workflow Foundation 3 workflows.

Inheritance hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class WorkflowInteropEventReceiver _
    Inherits SPWorkflowEventReceiver
'Usage
Dim instance As WorkflowInteropEventReceiver
public sealed class WorkflowInteropEventReceiver : SPWorkflowEventReceiver

Remarks

For information about using SharePoint Interop in Visual Studio, see Use workflow interop for SharePoint 2013. For information about Interop functionality exposed in SharePoint Designer 2013, see Understanding Coordination actions in SharePoint Designer 2013.

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

WorkflowInteropEventReceiver members

Microsoft.SharePoint.WorkflowServices namespace

Other resources

Use workflow interop for SharePoint 2013

Understanding Coordination actions in SharePoint Designer 2013