SPResourceBudget class

Monitors the usage of specified resources within a code block.


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

Public Class SPResourceBudget _
	Inherits SPMonitoredScope
Dim instance As SPResourceBudget

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.