Partager via


Project Class

Proxy of the Project class in the PSI, used internally for built-in Project Server workflow activities.

Inheritance Hierarchy

System.Object
  WcfProxyBase<IProject>
    WcfWorkflowProxyBase<IProject>
      Microsoft.Office.Project.Server.WebServiceProxy.Project

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class Project _
    Inherits WcfWorkflowProxyBase(Of IProject)
'Usage
Dim instance As Project
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class Project : WcfWorkflowProxyBase<IProject>

Remarks

The Microsoft.Office.Project.Server.WebServiceProxy.Project class is a proxy for the Project class in the Project service of the PSI. The proxy class is accessible only from built-in Project Server workflow activities.

Note

To access Project class members or other PSI types from a custom workflow, you must create a custom workflow activity.

For information about creating a custom workflow activity, and a complete code sample, see the \Samples\Workflow\CustomActivityWorkflow subdirectory in the Project 2010 SDK download. For a link to the download, see Project 2010 SDK Documentation. For information about creating a custom Project Server workflow, see Developing Project Server Workflows.

For documentation of Project class members, see Project in the PSI services.

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

Project Members

Microsoft.Office.Project.Server.WebServiceProxy Namespace