PerformanceMonitorBaseFindCounter(String) Method

Returns a PerformanceCounter object matching the specified counter name.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.138 -- Release Build+6aeb4c3988b05c265b918fce2dee4202efa7e160
public PerformanceCounter? FindCounter(
	string counterName
)

Parameters

counterName  String
Name of the PerformanceCounter to be retrieved.

Return Value

PerformanceCounter
A PerformanceCounter object if a match is found; otherwise null.

Remarks

First PerformanceCounter with matching name is returned. If same name exists within multiple monitored categories, use FindCounter(String, String) overload instead.

See Also