共用方式為


SPResourceBudget members

Include protected members
Include inherited members

監視指定的資源,程式碼區塊內的使用方式。

The SPResourceBudget type exposes the following members.

Constructors

  Name Description
Public method SPResourceBudget(String, TraceSeverity, []) 會建立SPResourceBudget()類別的新執行個體。
Public method SPResourceBudget(Boolean, String, TraceSeverity, [])

Top

Properties

  Name Description
Public property Children (Inherited from SPMonitoredScope.)
Public property Id (Inherited from SPMonitoredScope.)
Public property IsDeveloperDashboardEnabled 持續追蹤的開發人員啟用儀表板的資訊。這會很有用時我們會在執行緒中無法取得 HttpContext (Inherited from SPMonitoredScope.)
Public property Monitors 取得與指定的範圍相關聯的監視器。 (Inherited from SPMonitoredScope.)
Public property Name 取得或設定指定範圍的程式碼區塊的易記名稱。 (Inherited from SPMonitoredScope.)
Public property Parent (Inherited from SPMonitoredScope.)
Public property ParentScopeId 目前的範圍將父範圍識別碼。如果沒有父代,這會傳回-1 (Inherited from SPMonitoredScope.)
Public property ScopeId 這是受監視的範圍內的相互關聯識別碼的唯一 id。由於一的相互關聯 id 可以有多個要求。範圍也可以重複的名稱,而且可跨越數個不同的電腦。我們需要一個唯一的識別碼,以識別範圍。 (Inherited from SPMonitoredScope.)

Top

Methods

  Name Description
Protected method AddMonitor<T> 新增這個領域的新監視器。 (Inherited from SPMonitoredScope.)
Public method Dispose() 停止所有計數器/計時器針對目前的範圍和不具有尚未處置任何子領域。 (Inherited from SPMonitoredScope.)
Protected method Dispose(Boolean) (Inherited from SPMonitoredScope.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetMonitor<T> 從目前範圍中擷取指定之型別的監視器。 (Inherited from SPMonitoredScope.)
Public method GetMonitorRecursive<T> 從指定之型別的這個領域取得監視器。 (Inherited from SPMonitoredScope.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDisposing 停止所有的計數器 (計時器) 目前的範圍和不具有尚未處置任何子領域。 (Overrides SPMonitoredScope.OnDisposing().)
Protected method PreviouslyEnteredScope 目前的範圍之前輸入的範圍。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPResourceBudget class

Microsoft.SharePoint.Utilities namespace