2 writes to counterName
System (2)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (2)
73
counterName
= String.Empty;
207
counterName
= value;
10 references to counterName
System (10)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (10)
182
helpMsg = PerformanceCounterLib.GetCounterHelp(currentMachineName, currentCategoryName, this.
counterName
);
200
return
counterName
;
206
if (
counterName
== null || String.Compare(
counterName
, value, StringComparison.OrdinalIgnoreCase) != 0) {
233
CounterDefinitionSample counterSample = categorySample.GetCounterDefinitionSample(this.
counterName
);
488
if (this.
counterName
== String.Empty)
496
if (!PerformanceCounterLib.CounterExists(currentMachineName, currentCategoryName,
counterName
))
497
throw new InvalidOperationException(SR.GetString(SR.CounterExists, currentCategoryName,
counterName
));
537
this.sharedCounter = new SharedPerformanceCounter(currentCategoryName.ToLower(CultureInfo.InvariantCulture),
counterName
.ToLower(CultureInfo.InvariantCulture), instanceName.ToLower(CultureInfo.InvariantCulture), instanceLifetime);
561
CounterDefinitionSample counterSample = categorySample.GetCounterDefinitionSample(this.
counterName
);