SPCriticalTraceCounter.Initialize method

Sets the IsEnabled property for the developer dashboard to true.

Overload list

  Name Description
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.

Top

See also

Reference

SPCriticalTraceCounter class

SPCriticalTraceCounter members

Microsoft.SharePoint.Utilities namespace