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.150 -- Release Build+2592e65d65fe0b04e044df0bc79f2e5da6464eee
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