共用方式為


Instrument<T>.RecordMeasurement 方法

定義

多載

RecordMeasurement(T)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T, KeyValuePair<String,Object>)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T, TagList)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T, ReadOnlySpan<KeyValuePair<String,Object>>)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

RecordMeasurement(T)

來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement);
protected void RecordMeasurement (T measurement);
member this.RecordMeasurement : 'T -> unit
Protected Sub RecordMeasurement (measurement As T)

參數

measurement
T

度量值。

適用於

RecordMeasurement(T, KeyValuePair<String,Object>)

來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag);
protected void RecordMeasurement (T measurement, System.Collections.Generic.KeyValuePair<string,object?> tag);
member this.RecordMeasurement : 'T * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Protected Sub RecordMeasurement (measurement As T, tag As KeyValuePair(Of String, Object))

參數

measurement
T

度量值。

tag
KeyValuePair<String,Object>

與度量相關聯的索引鍵/值組標記。

適用於

RecordMeasurement(T, TagList)

來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement, System::Diagnostics::TagList % tagList);
protected void RecordMeasurement (T measurement, in System.Diagnostics.TagList tagList);
member this.RecordMeasurement : 'T * TagList -> unit
Protected Sub RecordMeasurement (measurement As T, ByRef tagList As TagList)

參數

measurement
T

度量值。

tagList
TagList

與度量相關聯的標記。

適用於

RecordMeasurement(T, ReadOnlySpan<KeyValuePair<String,Object>>)

來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs
來源:
Instrument.common.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement, ReadOnlySpan<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> tags);
protected void RecordMeasurement (T measurement, ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
member this.RecordMeasurement : 'T * ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Protected Sub RecordMeasurement (measurement As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)))

參數

measurement
T

度量值。

tags
ReadOnlySpan<KeyValuePair<String,Object>>

與度量相關聯的索引鍵/值組標記範圍。

適用於

RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag1, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag2);
protected void RecordMeasurement (T measurement, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2);
member this.RecordMeasurement : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Protected Sub RecordMeasurement (measurement As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object))

參數

measurement
T

度量值。

tag1
KeyValuePair<String,Object>

與度量相關聯的第一個索引鍵/值組標記。

tag2
KeyValuePair<String,Object>

與度量相關聯的第二個索引鍵/值組標記。

適用於

RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs
來源:
Instrument.netcore.cs

藉由通知正在接聽此檢測的所有 MeterListener 對象來記錄度量。

protected:
 void RecordMeasurement(T measurement, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag1, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag2, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag3);
protected void RecordMeasurement (T measurement, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2, System.Collections.Generic.KeyValuePair<string,object?> tag3);
member this.RecordMeasurement : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Protected Sub RecordMeasurement (measurement As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object), tag3 As KeyValuePair(Of String, Object))

參數

measurement
T

度量值。

tag1
KeyValuePair<String,Object>

與度量相關聯的第一個索引鍵/值組標記。

tag2
KeyValuePair<String,Object>

與度量相關聯的第二個索引鍵/值組標記。

tag3
KeyValuePair<String,Object>

與度量相關聯的第三個索引鍵/值組標記。

適用於