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.
Include Protected Members
Include Inherited Members
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.
The SPCriticalTraceCounter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPCriticalTraceCounter | Initializes a new instance of the [Microsoft.SharePoint.Utilities.SPCriticalTraceCounter] class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Description | A friendly description of the counter. |
![]() ![]() |
IsEnabled | If this value is true traces will be collected and shown in the dashboard. |
![]() |
Name | A friendly name for the trace counter. |
![]() |
Value | The number of traces collected. |
![]() |
ValueIsExcessive | Indicates whether asserts or unexpected traces have occurred or not. |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
AddDataToScope | Saves the specified critical trace information in the context for later reporting. |
![]() |
Dispose | Dispose method for this instance of [Microsoft.SharePoint.Utilities.SPCriticalTraceCounter]. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
RenderValueForWeb | Renders the event in an HTML table. |
![]() |
ToString | (Inherited from Object.) |
Top