Partager via


SetProjectStage Class

The workflow activity that sets the current stage of a Project Server workflow.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.Office.Project.Server.Workflow.SetProjectStage

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(SetProjectStage), "Resources.SetProjectStage.bmp")> _
<PersistOnCloseAttribute> _
Public NotInheritable Class SetProjectStage _
    Inherits Activity _
    Implements IActivityEventListener(Of QueueEventArgs)
'Usage
Dim instance As SetProjectStage
[ToolboxBitmapAttribute(typeof(SetProjectStage), "Resources.SetProjectStage.bmp")]
[PersistOnCloseAttribute]
public sealed class SetProjectStage : Activity, 
    IActivityEventListener<QueueEventArgs>

Remarks

The SetProjectStage activity sets the stage specified by the StageUid property. You must also specify the numerical order of the stage in the workflow by using the StageOrder property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SetProjectStage Members

Microsoft.Office.Project.Server.Workflow Namespace