Compartilhar via


InstanceDataCollection(String) Construtor

Definição

Cuidado

This constructor has been deprecated. Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead. http://go.microsoft.com/fwlink/?linkid=14202

Cuidado

This constructor has been deprecated. Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead. https://go.microsoft.com/fwlink/?linkid=14202

Cuidado

This constructor has been deprecated. Use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.

Inicializa uma nova instância da classe InstanceDataCollection, usando o contador de desempenho especificado (que define uma instância de desempenho).

public:
 InstanceDataCollection(System::String ^ counterName);
[System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public InstanceDataCollection (string counterName);
[System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public InstanceDataCollection (string counterName);
[System.Obsolete("This constructor has been deprecated. Use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.")]
public InstanceDataCollection (string counterName);
public InstanceDataCollection (string counterName);
[<System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
[<System.Obsolete("This constructor has been deprecated.  Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
[<System.Obsolete("This constructor has been deprecated. Use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.")>]
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
new System.Diagnostics.InstanceDataCollection : string -> System.Diagnostics.InstanceDataCollection
Public Sub New (counterName As String)

Parâmetros

counterName
String

O nome do contador, que geralmente descreve a quantidade sendo contada.

Atributos

Exceções

O parâmetro counterName é null.

Aplica-se a