30 references to PerformanceCounterCategoryType
System (30)
services\monitoring\system\diagnosticts\PerformanceCounter.cs (6)
499
PerformanceCounterCategoryType
categoryType = PerformanceCounterLib.GetCategoryType(currentMachineName, currentCategoryName);
500
if (categoryType ==
PerformanceCounterCategoryType
.MultiInstance) {
503
} else if (categoryType ==
PerformanceCounterCategoryType
.SingleInstance) {
525
PerformanceCounterCategoryType
categoryType = PerformanceCounterLib.GetCategoryType(currentMachineName, currentCategoryName);
526
if (categoryType ==
PerformanceCounterCategoryType
.MultiInstance) {
529
} else if (categoryType ==
PerformanceCounterCategoryType
.SingleInstance) {
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (9)
113
public
PerformanceCounterCategoryType
CategoryType{
121
return
PerformanceCounterCategoryType
.MultiInstance;
126
return
PerformanceCounterCategoryType
.SingleInstance;
206
return Create(categoryName, categoryHelp,
PerformanceCounterCategoryType
.Unknown, new CounterCreationDataCollection(new CounterCreationData [] {customData}));
211
public static PerformanceCounterCategory Create(string categoryName, string categoryHelp,
PerformanceCounterCategoryType
categoryType, string counterName, string counterHelp) {
223
return Create(categoryName, categoryHelp,
PerformanceCounterCategoryType
.Unknown, counterData);
228
public static PerformanceCounterCategory Create(string categoryName, string categoryHelp,
PerformanceCounterCategoryType
categoryType, CounterCreationDataCollection counterData) {
229
if (categoryType <
PerformanceCounterCategoryType
.Unknown || categoryType >
PerformanceCounterCategoryType
.MultiInstance)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (15)
450
private static void CreateRegistryEntry(string categoryName,
PerformanceCounterCategoryType
categoryType, CounterCreationDataCollection creationData, ref bool iniRegistered) {
604
internal bool FindCustomCategory(string category, out
PerformanceCounterCategoryType
categoryType) {
607
categoryType =
PerformanceCounterCategoryType
.Unknown;
614
categoryType= (
PerformanceCounterCategoryType
) this.customCategoryTable[category];
641
categoryType =
PerformanceCounterCategoryType
.Unknown;
656
categoryType = (
PerformanceCounterCategoryType
) isMultiInstanceObject;
657
if (categoryType <
PerformanceCounterCategoryType
.Unknown || categoryType >
PerformanceCounterCategoryType
.MultiInstance)
658
categoryType =
PerformanceCounterCategoryType
.Unknown;
661
categoryType =
PerformanceCounterCategoryType
.Unknown;
1073
PerformanceCounterCategoryType
categoryType;
1078
internal static
PerformanceCounterCategoryType
GetCategoryType(string machine, string category) {
1079
PerformanceCounterCategoryType
categoryType =
PerformanceCounterCategoryType
.Unknown;
1110
internal static void RegisterCategory(string categoryName,
PerformanceCounterCategoryType
categoryType, string categoryHelp, CounterCreationDataCollection creationData) {