SPWorkflowExternalDataExchangeService.RaiseEvent Method (SPWeb, Guid, Type, String, Object )
Raises a workflow event.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Sub RaiseEvent ( _
web As SPWeb, _
workflowId As Guid, _
eventType As Type, _
eventName As String, _
eventData As Object() _
)
'Usage
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
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe website where the workflow is registered.
workflowId
Type: System.GuidThe workflow ID assigned to the workflow instance by the workflow engine.
eventType
Type: System.TypeThe data type of the workflow event.
eventName
Type: System.StringThe name of the event.
eventData
Type: []Additional information about the event.
Remarks
This overload runs the workflow instance in the current user's security context and specifies SPWorkflowRunOptions.SynchronousAllowPostpone.
See Also
Reference
SPWorkflowExternalDataExchangeService Class
SPWorkflowExternalDataExchangeService Members