SPCriticalTraceCounter Methods

Include Protected Members
Include Inherited Members

The SPCriticalTraceCounter type exposes the following members.

Methods

  Name Description
Public methodStatic member AddDataToScope Saves the specified critical trace information in the context for later reporting.
Public method Dispose Dispose method for this instance of [Microsoft.SharePoint.Utilities.SPCriticalTraceCounter].
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member Initialize() Enabling this monitor will automatically launch the developer dashboard, which will activate the [Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext] callback which will let this monitor collect the critical trace.
Public methodStatic member Initialize(UInt32, Int32) If this monitor is enabled and if the trace meets certain criteria this call will launch the developer dashboard which will activate the [Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext] callback which will let this monitor collect the critical trace.
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderValueForWeb Renders the event in an HTML table.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPCriticalTraceCounter Class

Microsoft.SharePoint.Utilities Namespace