Name

PerformanceCounterInstaller

Synopsis

This is an installer for a PerformanceCounter component. CategoryName and CategoryHelp contain the name and help text pertinent to the category to install the counters into, and Counters contains the counters that will be installed.

Public Class PerformanceCounterInstaller : Inherits System.Configuration.Install.ComponentInstaller
' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Public Property CategoryHelp As String  
   Public Property CategoryName As String  
   Public ReadOnly Property Counters As CounterCreationDataCollection  
   Public Property UninstallAction As UninstallAction  
' Public Instance Methods
   Overrides Public Sub CopyFromComponent(
        ByVal component As System.ComponentModel.IComponent) 
   Overrides Public Sub Install(
        ByVal stateSaver As System.Collections.IDictionary) 
   Overrides Public Sub Rollback(
        ByVal savedState As System.Collections.IDictionary) 
   Overrides Public Sub Uninstall(
        ByVal savedState As System.Collections.IDictionary) 
End Class

Hierarchy

System.ObjectSystem.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponent, System.IDisposable)System.Configuration.Install.InstallerSystem.Configuration.Install.ComponentInstaller PerformanceCounterInstaller

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.