共用方式為


SPCriticalTraceCounter class

此監視器追蹤重要的 windows 事件,並判斷提示的作業,例如網頁瀏覽期間所發生。追蹤包含事件文字,並在文字識別碼、 呼叫堆疊。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPCriticalTraceCounter

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

Syntax

'宣告
Public NotInheritable Class SPCriticalTraceCounter _
    Implements ISPScopedPerformanceMonitor, IDisposable, ISPPerformanceMonitor, ISupportNameValuePairsSerialization
'用途
Dim instance As SPCriticalTraceCounter
public sealed class SPCriticalTraceCounter : 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.

請參閱

參照

SPCriticalTraceCounter members

Microsoft.SharePoint.Utilities namespace