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, CounterCreationData[])

Registers the extensible performance category with the system on the local machine

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

Parameters

categoryName
performance category name
categoryHelp
description message for the category
counterData
collection of CounterCreationData specifying the counters to be created

See Also

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