GaugeAttribute<T> Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| GaugeAttribute<T>(String[]) |
Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse. |
| GaugeAttribute<T>(Type) |
Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse. |
GaugeAttribute<T>(String[])
- Bron:
- GaugeAttributeT.cs
Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.
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())
Parameters
- tagNames
- String[]
Variabele matrix van tagnamen.
Van toepassing op
GaugeAttribute<T>(Type)
- Bron:
- GaugeAttributeT.cs
Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.
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)
Parameters
- type
- Type
Een type dat de namen van de metrische tags aanlevert. De tagwaarden worden opgehaald uit de openbare velden en eigenschappen van het type.