共用方式為


SPRequestUsageMonitoredScope class

監視效能及資源可用於指定] 區段中的程式碼。

Inheritance hierarchy

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

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

Syntax

'宣告
<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

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.

請參閱

參照

SPRequestUsageMonitoredScope members

Microsoft.SharePoint.Administration namespace