GaugeAttribute<T> Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| GaugeAttribute<T>(String[]) |
Inicializa uma nova instância da GaugeAttribute<T> classe. |
| GaugeAttribute<T>(Type) |
Inicializa uma nova instância da GaugeAttribute<T> classe. |
GaugeAttribute<T>(String[])
- Origem:
- GaugeAttributeT.cs
Inicializa uma nova instância da GaugeAttribute<T> classe.
public:
GaugeAttribute(... cli::array <System::String ^> ^ tagNames);
public GaugeAttribute(params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)> : string[] -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)>
Public Sub New (ParamArray tagNames As String())
Parâmetros
- tagNames
- String[]
Array variável de nomes de etiquetas.
Aplica-se a
GaugeAttribute<T>(Type)
- Origem:
- GaugeAttributeT.cs
Inicializa uma nova instância da GaugeAttribute<T> classe.
public:
GaugeAttribute(Type ^ type);
public GaugeAttribute(Type type);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)> : Type -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)>
Public Sub New (type As Type)
Parâmetros
- type
- Type
Um tipo que fornece os nomes das etiquetas métricas. Os valores das etiquetas são retirados dos campos e propriedades públicos do tipo.