Share via


GaugeAttribute Construtores

Definição

Sobrecargas

GaugeAttribute(String[])

Inicializa uma nova instância da classe GaugeAttribute.

GaugeAttribute(Type)

Inicializa uma nova instância da classe GaugeAttribute.

GaugeAttribute(String[])

Origem:
GaugeAttribute.cs
Origem:
GaugeAttribute.cs

Inicializa uma nova instância da classe GaugeAttribute.

public:
 GaugeAttribute(... cli::array <System::String ^> ^ tagNames);
public GaugeAttribute (params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute : string[] -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute
Public Sub New (ParamArray tagNames As String())

Parâmetros

tagNames
String[]

Matriz variável de nomes de marca.

Aplica-se a

GaugeAttribute(Type)

Origem:
GaugeAttribute.cs
Origem:
GaugeAttribute.cs

Inicializa uma nova instância da classe GaugeAttribute.

public:
 GaugeAttribute(Type ^ type);
public GaugeAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute : Type -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute
Public Sub New (type As Type)

Parâmetros

type
Type

Um tipo que fornece os nomes de marca de métrica. Os valores de marca são obtidos dos campos públicos e das propriedades do tipo.

Aplica-se a