共用方式為


SPCriticalTraceCounter members

Include protected members
Include inherited members

此監視器追蹤重要的 windows 事件,並判斷提示的作業,例如網頁瀏覽期間所發生。追蹤包含事件文字,並在文字識別碼、 呼叫堆疊。

The SPCriticalTraceCounter type exposes the following members.

Constructors

  Name Description
Public method SPCriticalTraceCounter 初始化[Microsoft.SharePoint.Utilities.SPCriticalTraceCounter]類別的新執行個體。

Top

Properties

  Name Description
Public property Description 計數器的好記的描述。
Public propertyStatic member IsEnabled 如果這個值是true追蹤將會收集和儀表板] 所示。
Public property Name 追蹤計數器易記的名稱。
Public property Namespace
Public property NameValuePairs
Public property Value 追蹤數目收集。
Public property ValueIsExcessive 指出是否會判斷提示或是否發生未預期的追蹤。

Top

Methods

  Name Description
Public methodStatic member AddDataToScope 將指定的關鍵追蹤資訊儲存在稍後報告的內容。
Public method Dispose 處置這個執行個體的[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() 啟用這個監視器] 將自動啟動的程式開發人員儀表板,啟動[Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext]回呼可收集重要追蹤這個監視器。
Public methodStatic member Initialize(UInt32, Int32) 如果啟用這個監視器,並追蹤符合這個呼叫將會啟動特定準則會啟動[Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext]回呼可會讓這個監視器的開發人員儀表板會收集重要的追蹤。
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderValueForWeb 呈現 HTML 表格中的事件。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPCriticalTraceCounter class

Microsoft.SharePoint.Utilities namespace