共用方式為


ProjectContext members

Include protected members
Include inherited members

維護與Project Web App的執行個體,開發的用戶端內容,並包含整個企業的集合在Project Web App中存在的專案伺服器物件。

The ProjectContext type exposes the following members.

Constructors

  Name Description
Public method ProjectContext 建立執行個體並初始化ProjectContext物件。

Top

Properties

  Name Description
Public property ApplicationName (Inherited from ClientRuntimeContext.)
Public property AuthenticationMode (Inherited from ClientRuntimeContext.)
Public property Calendars 取得專案伺服器執行個體的行事曆的集合。
Public property ClientTag (Inherited from ClientRuntimeContext.)
Public property Credentials (Inherited from ClientRuntimeContext.)
Public property CustomFields 取得集合的企業自訂欄位定義在Project Web App執行個體中。
Public property EnterpriseProjectTypes 取得集合的企業專案類型 (EPTs) Project Web App執行個體中。
Public property EnterpriseResources Project Web App執行個體中取得企業資源的集合。
Public property EntityTypes 取得 CSOM 所公開的 Project Server 實體的型別。
Public property EventHandlers 取得Project Web App執行個體中所定義的事件處理常式的集合。
Public property Events 取得事件物件的集合中的Project Web App執行個體。
Public property FormDigestHandlingEnabled (Inherited from ClientContext.)
Public property FormsAuthenticationLoginInfo (Inherited from ClientRuntimeContext.)
Public property HasPendingRequest (Inherited from ClientRuntimeContext.)
Public property LookupTables 取得Project Web App執行個體中的查閱資料表定義的集合。
Public property PendingRequest (Inherited from ClientRuntimeContext.)
Public property Phases Project Web App執行個體中取得 Project Server 工作流程階段的集合。
Public property ProjectDetailPages 在 Project Server 執行個體中取得專案詳細資料] 頁面的集合。
Public property Projects Project Web App執行個體中取得專案的集合。
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 取得 Project Server 服務的狀態資訊。
Public property Site (Inherited from ClientContext.)
Public property Stages Project Web App執行個體中取得 Project Server 工作流程階段的集合。
Public property StaticObjects (Inherited from ClientRuntimeContext.)
Public property Tag (Inherited from ClientRuntimeContext.)
Public property TimeSheetPeriods 取得時間工作表的集合。
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 取得 Project Server 工作流程可以在執行階段呼叫的方法。
Public property WorkflowDesigner 取得工作流程設計工具,開發人員可以在設計階段呼叫。

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 等候指定的佇列工作完成,或最大秒數。

Top

Events

  Name Description
Public event ExecutingWebRequest (Inherited from ClientRuntimeContext.)

Top

請參閱

參照

ProjectContext class

Microsoft.ProjectServer.Client namespace