共用方式為


SPCallCounter class

這個計數器會監視在要求期間所做的任意 api (WCF 服務呼叫) 的呼叫程序數。

Inheritance hierarchy

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

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

Syntax

'宣告
Public MustInherit Class SPCallCounter _
    Implements ISPScopedPerformanceMonitor, IDisposable, ISPPerformanceMonitor, ISupportNameValuePairsSerialization
'用途
Dim instance As SPCallCounter
public abstract class SPCallCounter : ISPScopedPerformanceMonitor, 
    IDisposable, ISPPerformanceMonitor, ISupportNameValuePairsSerialization

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.

請參閱

參照

SPCallCounter members

Microsoft.SharePoint.Utilities namespace