Compartir a través de


del método WorkflowInstanceService.PublishCustomEvent

Envía un evento personalizado a un flujo de trabajo de ejecución con la carga de evento.

Espacio de nombres:  Microsoft.SharePoint.WorkflowServices
Ensamblado:  Microsoft.SharePoint.WorkflowServicesBase (en Microsoft.SharePoint.WorkflowServicesBase.dll)

Sintaxis

'Declaración
<ClientCallableMethodAttribute> _
Public MustOverride Sub PublishCustomEvent ( _
    instance As WorkflowInstance, _
    eventName As String, _
    payload As String _
)
'Uso
Dim instance As WorkflowInstanceService
Dim instance As WorkflowInstance
Dim eventName As String
Dim payload As String

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

Parámetros

Vea también

Referencia

clase WorkflowInstanceService

Miembros WorkflowInstanceService

Espacio de nombres Microsoft.SharePoint.WorkflowServices