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)

Syntax

'Declaration
Public Class SPMonitoredScope _
    Implements IDisposable
'Usage
Dim instance As SPMonitoredScope
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