Freigeben über


ISharePointService.OnWorkflowActivated-Ereignis

Wird ausgelöst, wenn die Workflow-Instanz zum ersten Mal gestartet wird.

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

Syntax

'Declaration
<CorrelationAliasAttribute("workflowId", "e.workflowId")> _
<CorrelationInitializerAttribute> _
Event OnWorkflowActivated As EventHandler(Of SPActivationEventArgs)
'Usage
Dim instance As ISharePointService
Dim handler As EventHandler(Of SPActivationEventArgs)

AddHandler instance.OnWorkflowActivated, handler
[CorrelationAliasAttribute("workflowId", "e.workflowId")]
[CorrelationInitializerAttribute]
event EventHandler<SPActivationEventArgs> OnWorkflowActivated

Hinweise

Alle Workflows in Windows SharePoint Services muss mit einer Workflow-Aktivität OnWorkflowActivated beginnen, die dieses Ereignis behandelt.

Diese Methode wird von der OnWorkflowActivated -Workflow-Aktivität im Microsoft.SharePoint.WorkflowActions -Namespace verwendet.

Weitere Informationen zu Workflow-Initiierung finden Sie unter Workflow Initiation.

Wenn die ISharePointService dieses Ereignis auslöst, sind die Ereignisparameter in der SPActivationEventArgs -Klasse enthalten.

Siehe auch

Referenz

ISharePointService Schnittstelle

ISharePointService-Member

Microsoft.SharePoint.Workflow-Namespace