Share via


SetProjectStage.WorkflowContext property

Gets or sets the context of the SetProjectStage activity in the parent workflow activity.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property WorkflowContext As ProjectWorkflowContext
    Get
    Set
'Usage
Dim instance As SetProjectStage
Dim value As ProjectWorkflowContext

value = instance.WorkflowContext

instance.WorkflowContext = value
[BrowsableAttribute(true)]
public ProjectWorkflowContext WorkflowContext { get; set; }

Property value

Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
An object that contains information that is related to the current instance of the workflow.

Remarks

The WorkflowContext property includes the name of the parent ProjectSequence activity instance and the path name of the WorkflowContext property in the parent activity. For example, if a SetProjectStage activity occurs within a ProjectSequence activity named projectSequence1, the Properties pane shows the WorkflowContext value as Activity=projectSequence1, Path=WorkflowContext.

See also

Reference

SetProjectStage class

SetProjectStage members

Microsoft.Office.Project.Server.Workflow namespace

WorkflowContextProperty