다음을 통해 공유


SPTaskUsageMonitoredScope class

Monitors performance and resource use for a specified asynchronous task

Inheritance hierarchy

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPTaskUsageMonitoredScope _
    Inherits SPResourceBudget
'Usage
Dim instance As SPTaskUsageMonitoredScope
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPTaskUsageMonitoredScope : SPResourceBudget

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

SPTaskUsageMonitoredScope members

Microsoft.SharePoint.Administration namespace