共用方式為


SPResourceBudget class

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

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPMonitoredScope
    Microsoft.SharePoint.Utilities.SPResourceBudget

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Class SPResourceBudget _
    Inherits SPMonitoredScope
'用途
Dim instance As SPResourceBudget
public class SPResourceBudget : SPMonitoredScope

備註

重要

如果指定的資源會使用多個預期的assert就會啟動。如果過度使用會在網頁瀏覽期間發生顯示問題,就會自動啟動程式開發人員儀表板。

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.

請參閱

參照

SPResourceBudget members

Microsoft.SharePoint.Utilities namespace