CounterAttribute Constructors

Definitie

Overloads

Name Description
CounterAttribute(String[])

Initialiseert een nieuw exemplaar van de CounterAttribute klasse.

CounterAttribute(Type)

Initialiseert een nieuw exemplaar van de CounterAttribute klasse.

CounterAttribute(String[])

Bron:
CounterAttribute.cs
Bron:
CounterAttribute.cs

Initialiseert een nieuw exemplaar van de CounterAttribute klasse.

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

Parameters

tagNames
String[]

Dimensienamen.

Van toepassing op

CounterAttribute(Type)

Bron:
CounterAttribute.cs
Bron:
CounterAttribute.cs

Initialiseert een nieuw exemplaar van de CounterAttribute klasse.

public:
 CounterAttribute(Type ^ type);
public CounterAttribute(Type type);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute : Type -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute
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.

Van toepassing op