Partager via


Instrument<T>.RecordMeasurement Méthode

Définition

Surcharges

RecordMeasurement(T)

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

RecordMeasurement(T, KeyValuePair<String,Object>)

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

RecordMeasurement(T)

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Paramètres

measurement
T

Valeur de mesure.

S’applique à

RecordMeasurement(T, KeyValuePair<String,Object>)

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Paramètres

measurement
T

Valeur de mesure.

tag
KeyValuePair<String,Object>

Balise de paire clé-valeur associée à la mesure.

S’applique à

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Paramètres

measurement
T

Valeur de mesure.

tags
ReadOnlySpan<KeyValuePair<String,Object>>

Étendue des balises de paire clé-valeur associées à la mesure.

S’applique à

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

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

Paramètres

measurement
T

Valeur de mesure.

tag1
KeyValuePair<String,Object>

Première balise de paire clé-valeur associée à la mesure.

tag2
KeyValuePair<String,Object>

Deuxième étiquette de paire clé-valeur associée à la mesure.

S’applique à

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

Enregistre une mesure en notifiant tous les objets MeterListener qui écoutent cet instrument.

protected virtual 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);
abstract member RecordMeasurement : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.RecordMeasurement : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Protected Overridable Sub RecordMeasurement (measurement As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object), tag3 As KeyValuePair(Of String, Object))

Paramètres

measurement
T

Valeur de mesure.

tag1
KeyValuePair<String,Object>

Première balise de paire clé-valeur associée à la mesure.

tag2
KeyValuePair<String,Object>

Deuxième étiquette de paire clé-valeur associée à la mesure.

tag3
KeyValuePair<String,Object>

Troisième étiquette de paire clé-valeur associée à la mesure.

S’applique à