共用方式為


SPTaskUsageMonitoredScope class

監視效能及資源使用指定的非同步任務

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

'宣告
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPTaskUsageMonitoredScope _
    Inherits SPResourceBudget
'用途
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.

請參閱

參照

SPTaskUsageMonitoredScope members

Microsoft.SharePoint.Administration namespace