C# Class WebApplications.Utilities.Performance.Tools.PerfSetup.PerfCategory

Performance category information for an individual set of counters.
Exibir arquivo Open project: webappsuk/CoreLibraries Class Usage Examples

Private Properties

Property Type Description
PerfCategory System

Public Methods

Method Description
Create ( ) : bool

Creates the counters on the specified machine name.

Delete ( ) : bool

Deletes the counters from specified machine name.

Set ( [ categoryName, [ typeReference, [ assembly, string categoryHelp ) : void

Adds or updates a performance counter categories information.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
PerfCategory ( [ assembly, [ performanceType, [ categoryName ) : System

Initializes a new instance of the PerfCategory class.

Method Details

Create() public method

Creates the counters on the specified machine name.
public Create ( ) : bool
return bool

Delete() public method

Deletes the counters from specified machine name.
public Delete ( ) : bool
return bool

Set() public static method

Adds or updates a performance counter categories information.
public static Set ( [ categoryName, [ typeReference, [ assembly, string categoryHelp ) : void
categoryName [ Name of the category.
typeReference [ The type reference.
assembly [ The assembly.
categoryHelp string The category help.
return void

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string