Compartilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public NotInheritable Class SPCriticalTraceCounter _
    Implements ISPScopedPerformanceMonitor, IDisposable, ISPPerformanceMonitor
'Usage
Dim instance As SPCriticalTraceCounter
[SubsetCallableTypeAttribute]
public sealed class SPCriticalTraceCounter : 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

SPCriticalTraceCounter Members

Microsoft.SharePoint.Utilities Namespace