We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
PerformanceCounter
En el ejemplo de código siguiente se crea una instancia predeterminada de la PerformanceCounter clase.
The following code example creates a default instance of the PerformanceCounter class.
Si se pasa un objeto PerformanceCounter a código de menos confianza puede crear un problema de seguridad.
Passing a PerformanceCounter object to less-trusted code can create a security issue.
En el siguiente código de ejemplo se muestra el uso de la clase PerformanceCounter.
The following code example creates a default instance of the PerformanceCounter class.
Una instancia de PerformanceCounter creada mediante esta sobrecarga no puede escribir en el contador, aunque el propio contador sea de lectura y escritura.
A PerformanceCounter instance created using this overload cannot write to the counter, even if the counter itself is read/write.
Inicializa una nueva instancia de solo lectura de la clase PerformanceCounter y la asocia al contador de rendimiento personalizado o del sistema y a la instancia de categoría especificados en el equipo local.
Initializes a new, read-only instance of the PerformanceCounter class and associates it with the specified system or custom performance counter and category instance on the local computer.
Cuando se crea una instancia de la PerformanceCounter (clase), primero debe indicarse la categoría con la que interactuará el componente y, a continuación, elija un contador de dicha categoría.
When you create an instance of the PerformanceCounter class, you first indicate the category with which the component will interact, and then you choose a counter from that category.
Obtiene o establece un valor que indica si este PerformanceCounter instancia está en modo de solo lectura.
Gets or sets a value indicating whether this PerformanceCounter instance is in read-only mode.
Obtiene o establece el nombre del contador de rendimiento asociado a esta PerformanceCounter instancia.
Gets or sets the name of the performance counter that is associated with this PerformanceCounter instance.
En el siguiente código de ejemplo se muestra el uso de la clase PerformanceCounter.
Ejemplos El ejemplo de código siguiente acepta un nombre de categoría de PerformanceCounter, un nombre de contador y un nombre de instancia desde la línea de comandos.
Examples The following code example accepts a PerformanceCounter category name, counter name, and instance name from the command line.
Obtiene o establece el nombre del contador de rendimiento asociado a esta instancia de PerformanceCounter.
CategoryName Gets or sets the performance category name for the performance counter.
Representa un componente de contador de nueva instancia de solo lectura de la PerformanceCounter (clase), sin asociar la instancia con cualquier contador de rendimiento personalizado en el equipo local o del sistema especificado.
Description PerformanceCounter() Initializes a new, read-only instance of the PerformanceCounter class, without associating the instance with any system or custom performance counter.
En el ejemplo de código siguiente se muestra el uso de la PerformanceCounter clase para crear y usar un AverageCount64 tipo de contador.
Example The following code example demonstrates the use of the PerformanceCounter class.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.