Aracılığıyla paylaş


CounterAttribute<T> Oluşturucular

Tanım

Aşırı Yüklemeler

CounterAttribute<T>(String[])

CounterAttribute<T> sınıfının yeni bir örneğini başlatır.

CounterAttribute<T>(Type)

CounterAttribute<T> sınıfının yeni bir örneğini başlatır.

CounterAttribute<T>(String[])

Kaynak:
CounterAttributeT.cs
Kaynak:
CounterAttributeT.cs

CounterAttribute<T> sınıfının yeni bir örneğini başlatır.

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

Parametreler

tagNames
String[]

etiket adlarının değişken dizisi.

Şunlara uygulanır

CounterAttribute<T>(Type)

Kaynak:
CounterAttributeT.cs
Kaynak:
CounterAttributeT.cs

CounterAttribute<T> sınıfının yeni bir örneğini başlatır.

public:
 CounterAttribute(Type ^ type);
public CounterAttribute (Type type);
new Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)> : Type -> Microsoft.Extensions.Diagnostics.Metrics.CounterAttribute<'T (requires 'T : struct)>
Public Sub New (type As Type)

Parametreler

type
Type

Ölçüm etiketi adlarını sağlayan bir tür. Etiket değerleri, türün genel alanlarından ve özelliklerinden alınır.

Şunlara uygulanır