SPResourceBudget members

Monitors the usage of specified resources within a code block.

The SPResourceBudget type exposes the following members.

  Name Description
Public method SPResourceBudget(String, TraceSeverity, []) Creates a new instance of the SPResourceBudget() class.
Public method SPResourceBudget(Boolean, String, TraceSeverity, [])
Top

  Name Description
Public property Children (Inherited from SPMonitoredScope.)
Public property Id (Inherited from SPMonitoredScope.)
Public property IsDeveloperDashboardEnabled Keep track of dev dashboard enabled information. This is useful when we are in a thread cannot get HttpContext (Inherited from SPMonitoredScope.)
Public property Monitors Gets the monitors that are associated with a given scope. (Inherited from SPMonitoredScope.)
Public property Name Gets or sets the friendly name for a given scoped block of code. (Inherited from SPMonitoredScope.)
Public property Parent (Inherited from SPMonitoredScope.)
Public property ParentScopeId The parent scope id for the current scope. If there is no parent, this will return -1 (Inherited from SPMonitoredScope.)
Public property 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

  Name Description
Protected method AddMonitor<T> Adds a new monitor for this scope. (Inherited from SPMonitoredScope.)
Public method Dispose() Stops all counters/timers for the current scope and any child scopes that have not been disposed yet. (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> Retrieves the monitor of the specified type from the current scope. (Inherited from SPMonitoredScope.)
Public method GetMonitorRecursive<T> Gets the monitor from this scope of the specified type. (Inherited from SPMonitoredScope.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDisposing Stops all counters (timers) for the current scope and any child scopes that have not been disposed yet. (Overrides SPMonitoredScope.OnDisposing().)
Protected method PreviouslyEnteredScope A scope that was entered before the current scope.
Public method ToString (Inherited from Object.)
Top
Show: