Instrument<T>.RecordMeasurement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
- Source:
- 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>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- 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)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- 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>>)
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
- Source:
- 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>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- 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>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- 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>
与度量关联的第三个键值对标记。