Instrument<T>.RecordMeasurement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RecordMeasurement(T) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T, KeyValuePair<String,Object>) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T, TagList) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T, ReadOnlySpan<KeyValuePair<String,Object>>) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>) |
Records a measurement by notifying all MeterListener objects that are listening to this instrument. |
RecordMeasurement(T)
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
protected:
void RecordMeasurement(T measurement);
protected void RecordMeasurement (T measurement);
member this.RecordMeasurement : 'T -> unit
Protected Sub RecordMeasurement (measurement As T)
Parameters
- measurement
- T
The measurement value.
Applies to
RecordMeasurement(T, KeyValuePair<String,Object>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
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))
Parameters
- measurement
- T
The measurement value.
- tag
- KeyValuePair<String,Object>
A key-value pair tag associated with the measurement.
Applies to
RecordMeasurement(T, TagList)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
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)
Parameters
- measurement
- T
The measurement value.
- tagList
- TagList
The tags associated with the measurement.
Applies to
RecordMeasurement(T, ReadOnlySpan<KeyValuePair<String,Object>>)
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
- Source:
- Instrument.common.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
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)))
Parameters
- measurement
- T
The measurement value.
- tags
- ReadOnlySpan<KeyValuePair<String,Object>>
A span of key-value pair tags associated with the measurement.
Applies to
RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
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))
Parameters
- measurement
- T
The measurement value.
- tag1
- KeyValuePair<String,Object>
A first key-value pair tag associated with the measurement.
- tag2
- KeyValuePair<String,Object>
A second key-value pair tag associated with the measurement.
Applies to
RecordMeasurement(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
- Source:
- Instrument.netcore.cs
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
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))
Parameters
- measurement
- T
The measurement value.
- tag1
- KeyValuePair<String,Object>
A first key-value pair tag associated with the measurement.
- tag2
- KeyValuePair<String,Object>
A second key-value pair tag associated with the measurement.
- tag3
- KeyValuePair<String,Object>
A third key-value pair tag associated with the measurement.