OnWorkflowActivated-Klasse

Definiert eine Workflow-Aktivität, mit der auf das ISharePointService.OnWorkflowActivated -Ereignis reagieren.

Vererbungshierarchie

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.HandleExternalEventActivity
        Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated

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

Syntax

'Declaration
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
<ToolboxBitmapAttribute(GetType(OnWorkflowActivated), "Resources.OnWorkflowActivated.bmp")> _
Public NotInheritable Class OnWorkflowActivated _
    Inherits HandleExternalEventActivity
'Usage
Dim instance As OnWorkflowActivated
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
[ToolboxBitmapAttribute(typeof(OnWorkflowActivated), "Resources.OnWorkflowActivated.bmp")]
public sealed class OnWorkflowActivated : HandleExternalEventActivity

Hinweise

Eine OnWorkflowActivated -Aktivität muss die erste Aktivität in einem Workflow SharePoint Foundation sein.

SharePoint Foundation löst diese Ereignisaktivität, wenn ein Workflow für ein SharePoint-Element initiiert wird. Diese Aktivität initialisiert die Korrelation zwischen die Workflow-Id und das Korrelationstoken.

Das OnWorkflowActivated -Ereignis gilt nur als erste Aktivität in einem Workflow. SharePoint Foundation ignoriert OnWorkflowActivated Tätigkeiten an eine andere Position im Workflow platziert.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Die Threadsicherheit von Instanzmembern ist nicht gewährleistet.

Siehe auch

Referenz

OnWorkflowActivated-Member

Microsoft.SharePoint.WorkflowActions-Namespace

Weitere Ressourcen

Workflow Activities for Windows SharePoint Services Overview

Workflow Initialization in Windows SharePoint Services