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!

PerformanceCounterCategory.Create (String, String, String, String, String)

Registers one extensible performance category of type NumberOfItems32 with the system

[Visual Basic]
Overloads Public Shared Function Create( _
   ByVal categoryName As String, _
   ByVal categoryHelp As String, _
   ByVal counterName As String, _
   ByVal counterHelp As String, _
   ByVal machineName As String _
) As PerformanceCounterCategory
[C#]
public static PerformanceCounterCategory Create(
   string categoryName,
   string categoryHelp,
   string counterName,
   string counterHelp,
   string machineName
);
[C++]
public: static PerformanceCounterCategory* Create(
   String* categoryName,
   String* categoryHelp,
   String* counterName,
   String* counterHelp,
   String* machineName
);
[JScript]
public static function Create(
   categoryName : String,
   categoryHelp : String,
   counterName : String,
   counterHelp : String,
   machineName : String
) : PerformanceCounterCategory;

Parameters

categoryName
performance category name
categoryHelp
description message for the category
counterName
name of the performance counter
counterHelp
description message for the counter
machineName
machine in which to register the counter.

See Also

PerformanceCounterCategory Class | PerformanceCounterCategory Members | System.Diagnostics Namespace | PerformanceCounterCategory.Create Overload List