Share via


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

定義

オーバーロード

HistogramAttribute<T>(String[])

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

HistogramAttribute<T>(Type)

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

HistogramAttribute<T>(String[])

ソース:
HistogramAttributeT.cs
ソース:
HistogramAttributeT.cs

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

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

パラメーター

tagNames
String[]

タグ名の可変配列。

適用対象

HistogramAttribute<T>(Type)

ソース:
HistogramAttributeT.cs
ソース:
HistogramAttributeT.cs

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

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

パラメーター

type
Type

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

適用対象