internal DispatcherInstrumentationPublisher(string instanceName,
     DispatcherInstrumentationManager instrumentationManager)
 {
     _totalTasksFaultedCounter =
         instrumentationManager.TotalTasksFaultedCounterDefinition.CreatePerformanceCounter(instanceName);
     _totalMessagesProcessedCounter =
         instrumentationManager.TotalProcessedMessagesCounterDefinition.CreatePerformanceCounter(instanceName);
     _totalTimeoutsCounter =
         instrumentationManager.TotalTimeoutsCounterDefinition.CreatePerformanceCounter(instanceName);
     _currentTaskCountCounter =
         instrumentationManager.CurrentTaskCountCounterDefinition.CreatePerformanceCounter(instanceName);
 }
 internal DispatcherInstrumentationPublisher(string instanceName,
                                             DispatcherInstrumentationManager instrumentationManager)
 {
     _totalTasksFaultedCounter =
         instrumentationManager.TotalTasksFaultedCounterDefinition.CreatePerformanceCounter(instanceName);
     _totalMessagesProcessedCounter =
         instrumentationManager.TotalProcessedMessagesCounterDefinition.CreatePerformanceCounter(instanceName);
     _totalTimeoutsCounter =
         instrumentationManager.TotalTimeoutsCounterDefinition.CreatePerformanceCounter(instanceName);
     _currentTaskCountCounter =
         instrumentationManager.CurrentTaskCountCounterDefinition.CreatePerformanceCounter(instanceName);
 }