Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPResourceBudget class

Monitors the usage of specified resources within a code block.

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

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public class SPResourceBudget : SPMonitoredScope
Important noteImportant

If the specified resources are used more than expected an assert is activated. If the excessive usage occurs during a page browse the developer dashboard is automatically launched to display the issue.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.