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.CreateCategory (String, String, CounterCreationData[])

Registers the extensible performance category with the system

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

Parameters

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

See Also

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