共用方式為


SPCriticalTraceCounter.Initialize method

Include protected members
Include inherited members

將開發人員儀表板的 [ IsEnabled ] 屬性設定為true。

Overload list

  Name Description
Public methodStatic member Initialize() 啟用這個監視器] 將自動啟動的程式開發人員儀表板,啟動[Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext]回呼可收集重要追蹤這個監視器。
Public methodStatic member Initialize(UInt32, Int32) 如果啟用這個監視器,並追蹤符合這個呼叫將會啟動特定準則會啟動[Microsoft.SharePoint.Diagnostics.ULS.SendTraceToHttpContext]回呼可會讓這個監視器的開發人員儀表板會收集重要的追蹤。

Top

請參閱

參照

SPCriticalTraceCounter class

SPCriticalTraceCounter members

Microsoft.SharePoint.Utilities namespace