2 writes to categoryName
System (2)
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (2)
68
this.
categoryName
= categoryName;
93
this.
categoryName
= value;
20 references to categoryName
System (20)
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (20)
77
return
categoryName
;
103
if (this.
categoryName
== null)
107
categoryHelp = PerformanceCounterLib.GetCategoryHelp(this.machineName, this.
categoryName
);
115
CategorySample categorySample = PerformanceCounterLib.GetCategorySample(machineName,
categoryName
);
123
if (PerformanceCounterLib.IsCustomCategory(".",
categoryName
))
124
return PerformanceCounterLib.GetCategoryType(".",
categoryName
);
146
if (
categoryName
!= null) {
147
PerformanceCounterPermission permission = new PerformanceCounterPermission(PerformanceCounterPermissionAccess.Read, value,
categoryName
);
163
if (this.
categoryName
== null)
166
return PerformanceCounterLib.CounterExists(machineName,
categoryName
, counterName);
479
if (this.
categoryName
== null)
483
throw new InvalidOperationException(SR.GetString(SR.MissingInstance, instanceName,
categoryName
));
485
string[] counterNames = PerformanceCounterLib.GetCounters(machineName,
categoryName
);
488
counters[index] = new PerformanceCounter(
categoryName
, counterNames[index], instanceName, machineName, true);
523
if (this.
categoryName
== null)
526
return GetCounterInstances(
categoryName
, machineName);
536
if (this.
categoryName
== null)
539
CategorySample categorySample = PerformanceCounterLib.GetCategorySample(machineName,
categoryName
);
575
if (this.
categoryName
== null)
578
CategorySample categorySample = PerformanceCounterLib.GetCategorySample(this.machineName, this.
categoryName
);