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