Partilhar via


SharePoint - SPmonitoredScope - Dashboard

In order for custom code to show up in the dev dashboard you need to make use of the SpMonitoredScope:

using (new SPMonitoredScope(“My Scope Name”))
{
   doSomeWork();
}

 https://msdn.microsoft.com/en-us/library/ff512758.aspx

 We have been finding that a few tough issues should have been trivial if the parts had been showing up!