Share via


CounterAttribute<T> コンストラクター

定義

オーバーロード

CounterAttribute<T>(String[])

CounterAttribute<T> クラスの新しいインスタンスを初期化します。

CounterAttribute<T>(Type)

CounterAttribute<T> クラスの新しいインスタンスを初期化します。

CounterAttribute<T>(String[])

ソース:
CounterAttributeT.cs
ソース:
CounterAttributeT.cs

CounterAttribute<T> クラスの新しいインスタンスを初期化します。

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())

パラメーター

tagNames
String[]

タグ名の可変配列。

適用対象

CounterAttribute<T>(Type)

ソース:
CounterAttributeT.cs
ソース:
CounterAttributeT.cs

CounterAttribute<T> クラスの新しいインスタンスを初期化します。

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)

パラメーター

type
Type

メトリック タグ名を指定する型。 タグの値は、型のパブリック フィールドとプロパティから取得されます。

適用対象