Share via


SPWorkflowExternalDataExchangeService.RaiseEvent - Méthode (SPWeb, Guid, Type, String, Object[])

Déclenche un événement de workflow.

Espace de noms :  Microsoft.SharePoint.Workflow
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Sub RaiseEvent ( _
    web As SPWeb, _
    workflowId As Guid, _
    eventType As Type, _
    eventName As String, _
    eventData As Object() _
)
'Utilisation
Dim web As SPWeb
Dim workflowId As Guid
Dim eventType As Type
Dim eventName As String
Dim eventData As Object()

SPWorkflowExternalDataExchangeService.RaiseEvent(web, workflowId, _
    eventType, eventName, eventData)
public static void RaiseEvent(
    SPWeb web,
    Guid workflowId,
    Type eventType,
    string eventName,
    Object[] eventData
)

Paramètres

  • workflowId
    Type : System.Guid

    L'ID de flux de travail affectée à l'instance de workflow par le moteur de flux de travail.

  • eventType
    Type : System.Type

    Le type de données de l'événement de workflow.

  • eventData
    Type : []

    Informations supplémentaires sur l'événement.

Remarques

Cette surcharge s'exécute l'instance de workflow dans le contexte de sécurité de l'utilisateur actuel et spécifie SPWorkflowRunOptions.SynchronousAllowPostpone.

Voir aussi

Référence

SPWorkflowExternalDataExchangeService classe

SPWorkflowExternalDataExchangeService - Membres

RaiseEvent - Surcharge

Microsoft.SharePoint.Workflow - Espace de noms

ID

InstanceId