次の方法で共有


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

定義

オーバーロード

名前 説明
GaugeAttribute<T>(String[])

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

GaugeAttribute<T>(Type)

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

GaugeAttribute<T>(String[])

ソース:
GaugeAttributeT.cs

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

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

パラメーター

tagNames
String[]

タグ名の変数配列。

適用対象

GaugeAttribute<T>(Type)

ソース:
GaugeAttributeT.cs

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

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

パラメーター

type
Type

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

適用対象