|
Este artículo se tradujo de forma manual. Mueva el puntero sobre las frases del artículo para ver el texto original.
|
Traducción
Original
|
PerformanceCounterInstaller (Clase)
System.MarshalByRefObject
System.ComponentModel.Component
System.Configuration.Install.Installer
System.Configuration.Install.ComponentInstaller
System.Diagnostics.PerformanceCounterInstaller
Ensamblado: System.Configuration.Install (en System.Configuration.Install.dll)
El tipo PerformanceCounterInstaller expone los siguientes miembros.
| Nombre | Descripción | |
|---|---|---|
![]() | PerformanceCounterInstaller |
| Nombre | Descripción | |
|---|---|---|
![]() | CanRaiseEvents | |
![]() | CategoryHelp | |
![]() | CategoryName | |
![]() | CategoryType | |
![]() | Container | |
![]() | Context | |
![]() | Counters | |
![]() | DesignMode | |
![]() | Events | |
![]() | HelpText | |
![]() | Installers | |
![]() | Parent | |
![]() | Site | |
![]() | UninstallAction |
| Nombre | Descripción | |
|---|---|---|
![]() | Commit | |
![]() | CopyFromComponent | |
![]() | CreateObjRef | |
![]() | Dispose | |
![]() | Dispose(Boolean) | |
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | GetHashCode | |
![]() | GetLifetimeService | |
![]() | GetService | |
![]() | GetType | |
![]() | InitializeLifetimeService | |
![]() | Install | |
![]() | IsEquivalentInstaller | |
![]() | MemberwiseClone | |
![]() | MemberwiseClone(Boolean) | |
![]() | OnAfterInstall | |
![]() | OnAfterRollback | |
![]() | OnAfterUninstall | |
![]() | OnBeforeInstall | |
![]() | OnBeforeRollback | |
![]() | OnBeforeUninstall | |
![]() | OnCommitted | |
![]() | OnCommitting | |
![]() | Rollback | |
![]() | ToString | |
![]() | Uninstall |
| Nombre | Descripción | |
|---|---|---|
![]() | AfterInstall | |
![]() | AfterRollback | |
![]() | AfterUninstall | |
![]() | BeforeInstall | |
![]() | BeforeRollback | |
![]() | BeforeUninstall | |
![]() | Committed | |
![]() | Committing | |
![]() | Disposed |
Imports System Imports System.Configuration.Install Imports System.Diagnostics Imports System.ComponentModel <RunInstaller(True)> _ Public Class MyPerformanceCounterInstaller Inherits Installer Public Sub New() Try ' Create an instance of 'PerformanceCounterInstaller'. Dim myPerformanceCounterInstaller As New PerformanceCounterInstaller() ' Set the 'CategoryName' for performance counter. myPerformanceCounterInstaller.CategoryName = "MyPerformanceCounter" Dim myCounterCreation As New CounterCreationData() myCounterCreation.CounterName = "MyCounter" myCounterCreation.CounterHelp = "Counter Help" ' Add a counter to collection of myPerformanceCounterInstaller. myPerformanceCounterInstaller.Counters.Add(myCounterCreation) Installers.Add(myPerformanceCounterInstaller) Catch e As Exception Me.Context.LogMessage("Error occured :" + e.Message) End Try End Sub 'New Public Shared Sub Main() End Sub 'Main End Class 'MyPerformanceCounterInstaller
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
