ProjectContext members

Maintains the client-side context for development with a Project Web App instance, and contains the enterprise-wide collections of Project Server objects that exist in Project Web App.

The ProjectContext type exposes the following members.

Constructors

  Name Description
Public method ProjectContext Creates an instance and initializes a ProjectContext object.

Top

Properties

  Name Description
Public property ApplicationName (Inherited from ClientRuntimeContext.)
Public property AuthenticationMode (Inherited from ClientRuntimeContext.)
Public property Calendars Gets the collection of calendars for the Project Server instance.
Public property ClientTag (Inherited from ClientRuntimeContext.)
Public property Credentials (Inherited from ClientRuntimeContext.)
Public property CustomFields Gets the collection of enterprise custom field definitions in the Project Web App instance.
Public property EnterpriseProjectTypes Gets the collection of enterprise project types (EPTs) in the Project Web App instance.
Public property EnterpriseResources Gets the collection of enterprise resources in a Project Web App instance.
Public property EntityTypes Gets the types of Project Server entities that are exposed through the CSOM.
Public property EventHandlers Gets the collection of event handlers that are defined in a Project Web App instance.
Public property Events Gets the collection of event objects in a Project Web App instance.
Public property FormDigestHandlingEnabled (Inherited from ClientContext.)
Public property FormsAuthenticationLoginInfo (Inherited from ClientRuntimeContext.)
Public property HasPendingRequest (Inherited from ClientRuntimeContext.)
Public property LookupTables Gets the collection of lookup table definitions in the Project Web App instance.
Public property PendingRequest (Inherited from ClientRuntimeContext.)
Public property Phases Gets the collection of Project Server workflow phases in the Project Web App instance.
Public property ProjectDetailPages Gets a collection of project detail pages in the Project Server instance.
Public property Projects Gets the collection of projects in the Project Web App instance.
Public property RequestSchemaVersion (Inherited from ClientRuntimeContext.)
Public property RequestTimeout (Inherited from ClientRuntimeContext.)
Public property ServerLibraryVersion (Inherited from ClientRuntimeContext.)
Public property ServerSchemaVersion (Inherited from ClientRuntimeContext.)
Public property ServerVersion (Inherited from ClientContext.)
Public property ServiceStatus Gets information about the status of the Project Server service.
Public property Site (Inherited from ClientContext.)
Public property Stages Gets the collection of Project Server workflow stages in a Project Web App instance.
Public property StaticObjects (Inherited from ClientRuntimeContext.)
Public property Tag (Inherited from ClientRuntimeContext.)
Public property TimeSheetPeriods Gets a collection of time sheet periods.
Public property TraceCorrelationId (Inherited from ClientRuntimeContext.)
Public property Url (Inherited from ClientRuntimeContext.)
Public property ValidateOnClient (Inherited from ClientRuntimeContext.)
Public property Web (Inherited from ClientContext.)
Public property WebRequestExecutorFactory (Inherited from ClientRuntimeContext.)
Public property WorkflowActivities Gets the methods that Project Server workflows can call at run time.
Public property WorkflowDesigner Gets a workflow designer that developers can call at design time.

Top

Methods

  Name Description
Public method AddQuery (Inherited from ClientRuntimeContext.)
Public method AddQueryIdAndResultObject (Inherited from ClientRuntimeContext.)
Public method CastTo<T> (Inherited from ClientRuntimeContext.)
Public method Dispose() (Inherited from ClientRuntimeContext.)
Protected method Dispose(Boolean) (Inherited from ClientRuntimeContext.)
Public method Equals (Inherited from Object.)
Public method ExecuteQuery (Inherited from ClientContext.)
Protected method Finalize (Inherited from Object.)
Public method GetFormDigestDirect (Inherited from ClientContext.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Load<T> (Inherited from ClientRuntimeContext.)
Public method LoadQuery<T>(ClientObjectCollection<T>) (Inherited from ClientRuntimeContext.)
Public method LoadQuery<T>(IQueryable<T>) (Inherited from ClientRuntimeContext.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnExecutingWebRequest (Inherited from ClientRuntimeContext.)
Public method ParseObjectFromJsonString (Inherited from ClientRuntimeContext.)
Public method ToString (Inherited from Object.)
Public method WaitForQueue Waits for the specified queue job to complete, or for a maximum number of seconds.

Top

Events

  Name Description
Public event ExecutingWebRequest (Inherited from ClientRuntimeContext.)

Top

See also

Reference

ProjectContext class

Microsoft.ProjectServer.Client namespace