共用方式為


SPCallCounter Class

This counter monitors the number of calls to an arbitrary API (WCF service calls) made during a request.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPCallCounter
    Microsoft.SharePoint.Utilities.SPRequestUsageCounter

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public MustInherit Class SPCallCounter _
    Implements ISPScopedPerformanceMonitor, IDisposable, ISPPerformanceMonitor
'Usage
Dim instance As SPCallCounter
public abstract class SPCallCounter : ISPScopedPerformanceMonitor, 
    IDisposable, ISPPerformanceMonitor

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

SPCallCounter Members

Microsoft.SharePoint.Utilities Namespace