This documentation is archived and is not being maintained.

PerformanceCounterInstaller Members

PerformanceCounterInstaller overview

Public Constructors

public constructorPerformanceCounterInstaller Constructor Initializes a new instance of the PerformanceCounterInstaller class.

Public Properties

public propertyCategoryHelp Gets or sets the descriptive message for the performance counter.
public propertyCategoryName Gets or sets the performance category name for the performance counter.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyContext (inherited from Installer) Gets or sets information about the current installation.
public propertyCounters Gets a collection of data that pertains to the counters to install.
public propertyHelpText (inherited from Installer) Gets the help text for all the installers in the installer collection.
public propertyInstallers (inherited from Installer) Gets the collection of installers that this installer contains.
public propertyParent (inherited from Installer) Gets or sets the installer containing the collection that this installer belongs to.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyUninstallAction Determines whether the performance counter should be removed at uninstall time.

Public Methods

public methodCommit (inherited from Installer) When overridden in a derived class, completes the install transaction.
public methodCopyFromComponent Overridden. Copies all the properties from the specified component that are required at install time for a performance counter.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInstall Overridden. Performs the installation.
public methodIsEquivalentInstaller (inherited from ComponentInstaller) Determines if the specified installer installs the same object as this installer.
public methodRollback Overridden. Restores the computer to the state it was in before the installation.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodUninstall Overridden. Removes an installation.

Public Events

public eventAfterInstall (inherited from Installer) Occurs after the Install methods of all the installers in the Installers property have run.
public eventAfterRollback (inherited from Installer) Occurs after the installations of all the installers in the Installers property are rolled back.
public eventAfterUninstall (inherited from Installer) Occurs after all the installers in the Installers property perform their uninstallation operations.
public eventBeforeInstall (inherited from Installer) Occurs before the Install method of each installer in the installer collection has run.
public eventBeforeRollback (inherited from Installer) Occurs before the installers in the Installers property are rolled back.
public eventBeforeUninstall (inherited from Installer) Occurs before the installers in the Installers property perform their uninstall operations.
public eventCommitted (inherited from Installer) Occurs after all the installers in the Installers property have committed their installations.
public eventCommitting (inherited from Installer) Occurs before the installers in the Installers property committ their installations.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnAfterInstall (inherited from Installer) Raises the AfterInstall event.
protected methodOnAfterRollback (inherited from Installer) Raises the AfterRollback event.
protected methodOnAfterUninstall (inherited from Installer) Raises the AfterUninstall event.
protected methodOnBeforeInstall (inherited from Installer) Raises the BeforeInstall event.
protected methodOnBeforeRollback (inherited from Installer) Raises the BeforeRollback event.
protected methodOnBeforeUninstall (inherited from Installer) Raises the BeforeUninstall event.
protected methodOnCommitted (inherited from Installer) Raises the Committed event.
protected methodOnCommitting (inherited from Installer) Raises the Committing event.

See Also

PerformanceCounterInstaller Class | System.Diagnostics Namespace

Show: