SPResourceBudget members
Monitors the usage of specified resources within a code block.
The SPResourceBudget type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPResourceBudget(String, TraceSeverity, []) | Creates a new instance of the SPResourceBudget() class. |
![]() |
SPResourceBudget(Boolean, String, TraceSeverity, []) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Children | (Inherited from SPMonitoredScope.) |
![]() |
Id | (Inherited from SPMonitoredScope.) |
![]() |
IsDeveloperDashboardEnabled | Keep track of dev dashboard enabled information. This is useful when we are in a thread cannot get HttpContext (Inherited from SPMonitoredScope.) |
![]() |
Monitors | Gets the monitors that are associated with a given scope. (Inherited from SPMonitoredScope.) |
![]() |
Name | Gets or sets the friendly name for a given scoped block of code. (Inherited from SPMonitoredScope.) |
![]() |
Parent | (Inherited from SPMonitoredScope.) |
![]() |
ParentScopeId | The parent scope id for the current scope. If there is no parent, this will return -1 (Inherited from SPMonitoredScope.) |
![]() |
ScopeId | This is a unique id for a monitored scope inside a correlation id. Since one correlation id can have multiple requests. The scope can also have duplicated names and can be across several different machine. We need a unique id to identify the scope. (Inherited from SPMonitoredScope.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddMonitor<T> | Adds a new monitor for this scope. (Inherited from SPMonitoredScope.) |
![]() |
Dispose() | Stops all counters/timers for the current scope and any child scopes that have not been disposed yet. (Inherited from SPMonitoredScope.) |
![]() |
Dispose(Boolean) | (Inherited from SPMonitoredScope.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetMonitor<T> | Retrieves the monitor of the specified type from the current scope. (Inherited from SPMonitoredScope.) |
![]() |
GetMonitorRecursive<T> | Gets the monitor from this scope of the specified type. (Inherited from SPMonitoredScope.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDisposing | Stops all counters (timers) for the current scope and any child scopes that have not been disposed yet. (Overrides SPMonitoredScope.OnDisposing().) |
![]() |
PreviouslyEnteredScope | A scope that was entered before the current scope. |
![]() |
ToString | (Inherited from Object.) |
Top