Share via


ProjectWorkflowContext constructor (Guid, Guid, String, Boolean, String, String, Boolean, Guid, Guid, String)

Instantiates a ProjectWorkflowContext object.

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

Syntax

'Declaration
Public Sub New ( _
    projUid As Guid, _
    proxyUid As Guid, _
    proxyAcct As String, _
    isWindows As Boolean, _
    languageCultureNm As String, _
    localeCultureNm As String, _
    skip As Boolean, _
    stageuid As Guid, _
    eptUid As Guid, _
    eptName As String _
)
'Usage
Dim projUid As Guid
Dim proxyUid As Guid
Dim proxyAcct As String
Dim isWindows As Boolean
Dim languageCultureNm As String
Dim localeCultureNm As String
Dim skip As Boolean
Dim stageuid As Guid
Dim eptUid As Guid
Dim eptName As String

Dim instance As New ProjectWorkflowContext(projUid, _
    proxyUid, proxyAcct, isWindows, languageCultureNm, _
    localeCultureNm, skip, stageuid, _
    eptUid, eptName)
public ProjectWorkflowContext(
    Guid projUid,
    Guid proxyUid,
    string proxyAcct,
    bool isWindows,
    string languageCultureNm,
    string localeCultureNm,
    bool skip,
    Guid stageuid,
    Guid eptUid,
    string eptName
)

Parameters

  • projUid
    Type: System.Guid

    The GUID of the project that is associated with the workflow.

  • proxyUid
    Type: System.Guid

    The GUID of the workflow proxy user.

  • proxyAcct
    Type: System.String

    The account name of the workflow proxy user.

  • isWindows
    Type: System.Boolean

    True if the workflow proxy user is using Windows authentication; otherwise, false.

  • languageCultureNm
    Type: System.String

    The name of the language culture that is used by the workflow.

  • localeCultureNm
    Type: System.String

    The name of the locale culture that is used by the workflow.

  • skip
    Type: System.Boolean

    True if the workflow will skip to a specific stage; otherwise, false.

  • stageuid
    Type: System.Guid

    The GUID of the current stage of the workflow, or of the next stage when skip is true.

  • eptUid
    Type: System.Guid

    The GUID of the enterprise project type.

  • eptName
    Type: System.String

    The name of the enterprise project type.

See also

Reference

ProjectWorkflowContext class

ProjectWorkflowContext members

ProjectWorkflowContext overload

Microsoft.Office.Project.Server.Library namespace