Share via


SPMonitoredScope Class

Monitors performance and resource use for a specified scoped block of code.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableTypeAttribute(Internal := True)> _
Public Class SPMonitoredScope _
    Implements IDisposable
'Usage
Dim instance As SPMonitoredScope
[SubsetCallableTypeAttribute(Internal = true)]
public class SPMonitoredScope : IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMonitoredScope Members

Microsoft.SharePoint.Utilities Namespace