WorkflowInstanceService.PublishCustomEvent method

Sends a custom event to a running workflow with the event payload.

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


<ClientCallableMethodAttribute> _
Public MustOverride Sub PublishCustomEvent ( _
    instance As WorkflowInstance, _
    eventName As String, _
    payload As String _
Dim instance As WorkflowInstanceService
Dim instance As WorkflowInstance
Dim eventName As String
Dim payload As String

instance.PublishCustomEvent(instance, _
    eventName, payload)
public abstract void PublishCustomEvent(
    WorkflowInstance instance,
    string eventName,
    string payload


See also


WorkflowInstanceService class

WorkflowInstanceService members

Microsoft.SharePoint.WorkflowServices namespace