SPRequestUsageMonitoredScope 类
监视性能和资源使用指定的代码段。
继承层次结构
System.Object
Microsoft.SharePoint.Utilities.SPMonitoredScope
Microsoft.SharePoint.Utilities.SPResourceBudget
Microsoft.SharePoint.Administration.SPRequestUsageMonitoredScope
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPRequestUsageMonitoredScope _
Inherits SPResourceBudget
用法
Dim instance As SPRequestUsageMonitoredScope
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPRequestUsageMonitoredScope : SPResourceBudget
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。