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.173 -- Release Build+13a17d52c6d57dd487f5387b2010a9ccb7973f84
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