Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Monitors performance and resource use for a specified scoped block of code.
The SPMonitoredScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPMonitoredScope(String) | Creates a new instance of a monitor and associates the monitor with a given scope. |
![]() |
SPMonitoredScope(String, UInt32, []) | Creates a set of monitors and initializes them for use with a given scope using a specified friendly name and for a given duration of operation. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Children | |
![]() ![]() |
Current | Gets the scoped segment of code that is currently being monitored. |
![]() |
Id | |
![]() |
Monitors | Gets the monitors that are associated with a given scope. |
![]() |
Name | Gets or sets the friendly name for a given scoped block of code. |
![]() |
Parent |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddMonitor<T> | |
![]() |
Dispose() | |
![]() |
Dispose(Boolean) | |
![]() |
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. |
![]() |
GetMonitorRecursive<T> | |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDisposing | Releases all monitors and then calls methods to log monitoring statistics and to set the previous scope to the current scope. |
![]() |
ToString | (Inherited from Object.) |
Top