NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PerformanceCounter.Exists (String, String)

Returns true if the counter is registered for this category on the current machine.

[Visual Basic]
Overloads Public Shared Function Exists( _
   ByVal categoryName As String, _
   ByVal counterName As String _
) As Boolean
[C#]
public static bool Exists(
   string categoryName,
   string counterName
);
[C++]
public: static bool Exists(
   String* categoryName,
   String* counterName
);
[JScript]
public static function Exists(
   categoryName : String,
   counterName : String
) : Boolean;

Parameters

categoryName
[To be supplied.]
counterName
[To be supplied.]

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace | PerformanceCounter.Exists Overload List