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 Constructor (String, String, String, String)

Creates the Performance Counter Object

[Visual Basic]
Overloads Public Sub New( _
   ByVal categoryName As String, _
   ByVal counterName As String, _
   ByVal instanceName As String, _
   ByVal machineName As String _
)
[C#]
public PerformanceCounter(
   string categoryName,
   string counterName,
   string instanceName,
   string machineName
);
[C++]
public: PerformanceCounter(
   String* categoryName,
   String* counterName,
   String* instanceName,
   String* machineName
);
[JScript]
public function PerformanceCounter(
   categoryName : String,
   counterName : String,
   instanceName : String,
   machineName : String
);

Parameters

categoryName
performance category name
counterName
name of the performance counter
instanceName
name of the performance category instance
machineName
performance counter on that machine

See Also

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