Instrument コンストラクター

定義

オーバーロード

Instrument(Meter, String)

Instrumentの新しいインスタンスを構築します。

Instrument(Meter, String, String, String)

メーター、名前、説明、ユニットなどの一般的なインストルメント プロパティを初期化するための保護されたコンストラクター。

Instrument(Meter, String, String, String, IEnumerable<KeyValuePair<String,Object>>)

指定したメーター、名前、説明、および単位を使用して、Instrument クラスの新しいインスタンスを初期化します。

Instrument(Meter, String)

Instrumentの新しいインスタンスを構築します。

protected:
 Instrument(System::Diagnostics::Metrics::Meter ^ meter, System::String ^ name);
protected Instrument (System.Diagnostics.Metrics.Meter meter, string name);
new System.Diagnostics.Metrics.Instrument : System.Diagnostics.Metrics.Meter * string -> System.Diagnostics.Metrics.Instrument
Protected Sub New (meter As Meter, name As String)

パラメーター

meter
Meter

楽器を作成したメーター。 nullできません。

name
String

インストルメント名。 nullできません。

適用対象

Instrument(Meter, String, String, String)

ソース:
Instrument.cs
ソース:
Instrument.cs
ソース:
Instrument.cs

メーター、名前、説明、ユニットなどの一般的なインストルメント プロパティを初期化するための保護されたコンストラクター。

protected:
 Instrument(System::Diagnostics::Metrics::Meter ^ meter, System::String ^ name, System::String ^ unit, System::String ^ description);
protected Instrument (System.Diagnostics.Metrics.Meter meter, string name, string? unit, string? description);
new System.Diagnostics.Metrics.Instrument : System.Diagnostics.Metrics.Meter * string * string * string -> System.Diagnostics.Metrics.Instrument
Protected Sub New (meter As Meter, name As String, unit As String, description As String)

パラメーター

meter
Meter

楽器を作成したメーター。

name
String

インストルメント名。 nullできません。

unit
String

測定の任意器械の単位。

description
String

オプションのインストルメントの説明。

注釈

拡張クラスのオブジェクトを構築するときに、Instrument がこのコンストラクターを呼び出す必要があるすべてのクラス。

適用対象

Instrument(Meter, String, String, String, IEnumerable<KeyValuePair<String,Object>>)

ソース:
Instrument.cs
ソース:
Instrument.cs

指定したメーター、名前、説明、および単位を使用して、Instrument クラスの新しいインスタンスを初期化します。

protected:
 Instrument(System::Diagnostics::Metrics::Meter ^ meter, System::String ^ name, System::String ^ unit, System::String ^ description, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
protected Instrument (System.Diagnostics.Metrics.Meter meter, string name, string? unit, string? description, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? tags);
protected Instrument (System.Diagnostics.Metrics.Meter meter, string name, string? unit = default, string? description = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? tags = default);
new System.Diagnostics.Metrics.Instrument : System.Diagnostics.Metrics.Meter * string * string * string * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Diagnostics.Metrics.Instrument
Protected Sub New (meter As Meter, name As String, unit As String, description As String, tags As IEnumerable(Of KeyValuePair(Of String, Object)))
Protected Sub New (meter As Meter, name As String, Optional unit As String = Nothing, Optional description As String = Nothing, Optional tags As IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing)

パラメーター

meter
Meter

楽器を作成したメーター。

name
String

インストルメント名。 nullできません。

unit
String

測定の任意器械の単位。

description
String

オプションのインストルメントの説明。

tags
IEnumerable<KeyValuePair<String,Object>>

オプションのインストルメント タグ。

注釈

拡張 Instrument すべてのクラスは、拡張クラスのオブジェクトを構築するときに、このコンストラクターを呼び出す必要があります。

適用対象