Share via


CounterAttribute コンストラクター

定義

オーバーロード

CounterAttribute(String[])

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

CounterAttribute(Type)

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

CounterAttribute(String[])

ソース:
CounterAttribute.cs
ソース:
CounterAttribute.cs

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

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

パラメーター

tagNames
String[]

ディメンション名。

適用対象

CounterAttribute(Type)

ソース:
CounterAttribute.cs
ソース:
CounterAttribute.cs

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

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)

パラメーター

type
Type

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

適用対象