SPCriticalTraceCounter class

This monitor tracks critical windows events and asserts that occur during an operation, such as a page browse. Tracking includes the event text, id, call stack.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPCriticalTraceCounter

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

Syntax

'Declaration
Public NotInheritable Class SPCriticalTraceCounter _
    Implements ISPScopedPerformanceMonitor, IDisposable, ISPPerformanceMonitor, ISupportNameValuePairsSerialization
'Usage
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.

See also

Reference

SPCriticalTraceCounter members

Microsoft.SharePoint.Utilities namespace