PerformanceCounterCategory Methods

 

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodCounterExists(String)

Determines whether the specified counter is registered to this category, which is indicated by the CategoryName and MachineName properties.

System_CAPS_pubmethodSystem_CAPS_staticCounterExists(String, String)

Determines whether the specified counter is registered to the specified category on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticCounterExists(String, String, String)

Determines whether the specified counter is registered to the specified category on a remote computer.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, CounterCreationDataCollection)

Obsolete.Registers the custom performance counter category containing the specified counters on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, PerformanceCounterCategoryType, CounterCreationDataCollection)

Registers the custom performance counter category containing the specified counters on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, PerformanceCounterCategoryType, String, String)

Registers the custom performance counter category containing a single counter of type NumberOfItems32 on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, String, String)

Obsolete.Registers a custom performance counter category containing a single counter of type NumberOfItems32 on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticDelete(String)

Removes the category and its associated counters from the local computer.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticExists(String)

Determines whether the category is registered on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticExists(String, String)

Determines whether the category is registered on the specified computer.

System_CAPS_pubmethodSystem_CAPS_staticGetCategories()

Retrieves a list of the performance counter categories that are registered on the local computer.

System_CAPS_pubmethodSystem_CAPS_staticGetCategories(String)

Retrieves a list of the performance counter categories that are registered on the specified computer.

System_CAPS_pubmethodGetCounters()

Retrieves a list of the counters in a performance counter category that contains exactly one instance.

System_CAPS_pubmethodGetCounters(String)

Retrieves a list of the counters in a performance counter category that contains one or more instances.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetInstanceNames()

Retrieves the list of performance object instances that are associated with this category.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInstanceExists(String)

Determines whether the specified performance object instance exists in the category that is identified by this PerformanceCounterCategory object's CategoryName property.

System_CAPS_pubmethodSystem_CAPS_staticInstanceExists(String, String)

Determines whether a specified category on the local computer contains the specified performance object instance.

System_CAPS_pubmethodSystem_CAPS_staticInstanceExists(String, String, String)

Determines whether a specified category on a specified computer contains the specified performance object instance.

System_CAPS_pubmethodReadCategory()

Reads all the counter and performance object instance data that is associated with this performance counter category.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: