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

Registers the extensible performance category with the system

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

Parameters

categoryName
performance category name
categoryHelp
description message for the category
counterData
collection of CounterCreationData specifying the counters to be created
machineName
machine in which to register the counter.

See Also

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