This documentation is archived and is not being maintained.

PerformanceCounterCategory Members (Visual J# Syntax)

Visual Studio .NET 2003

This topic shows Visual J# syntax for the .NET Framework library. For more information, click the link to the corresponding .NET Framework topic.

Declaration

public class PerformanceCounterCategory
   extends System.Object

Public Constructors

public PerformanceCounterCategory();
public PerformanceCounterCategory(
   System.String categoryName
);
public PerformanceCounterCategory(
   System.String categoryName,
   System.String machineName
);

Public Properties

public System.String get_CategoryHelp();
public System.String get_CategoryName();
public void set_CategoryName(
   System.String value
);
public System.String get_MachineName();
public void set_MachineName(
   System.String value
);

Public Methods

public boolean CounterExists(
   System.String counterName
);
public static boolean CounterExists(
   System.String counterName,
   System.String categoryName
);
public static boolean CounterExists(
   System.String counterName,
   System.String categoryName,
   System.String machineName
);
public static System.Diagnostics.PerformanceCounterCategory Create(
   System.String categoryName,
   System.String categoryHelp,
   System.Diagnostics.CounterCreationDataCollection counterData
);
public static System.Diagnostics.PerformanceCounterCategory Create(
   System.String categoryName,
   System.String categoryHelp,
   System.String counterName,
   System.String counterHelp
);
public static void Delete(
   System.String categoryName
);
public static boolean Exists(
   System.String categoryName
);
public static boolean Exists(
   System.String categoryName,
   System.String machineName
);
public static System.Diagnostics.PerformanceCounterCategory[] GetCategories();
public static System.Diagnostics.PerformanceCounterCategory[] GetCategories(
   System.String machineName
);
public System.Diagnostics.PerformanceCounter[] GetCounters();
public System.Diagnostics.PerformanceCounter[] GetCounters(
   System.String instanceName
);
public System.String[] GetInstanceNames();
public boolean InstanceExists(
   System.String instanceName
);
public static boolean InstanceExists(
   System.String instanceName,
   System.String categoryName
);
public static boolean InstanceExists(
   System.String instanceName,
   System.String categoryName,
   System.String machineName
);
public System.Diagnostics.InstanceDataCollectionCollection ReadCategory();
Show: