Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub Initialize ( _
tagID As UInteger, _
traceLevel As Integer _
)
'Usage
Dim tagID As UInteger
Dim traceLevel As IntegerSPCriticalTraceCounter.Initialize(tagID, traceLevel)
public static void Initialize(
uint tagID,
int traceLevel
)
Parameters
tagID
Type: System.UInt32A uint tag identifier.
traceLevel
Type: System.Int32A System.Int32 of the trace level of the event.
Remarks
If tagID matches one of the values in [SPDeveloperDashboardSettings.AdditionalEventsToTrack] this instance will be treated as a critical trace, regardless of verbosity level.