共用方式為


Gauge<T>.Record 方法

定義

多載

Record(T)

記錄量測計目前的值。

Record(T, KeyValuePair<String,Object>)

記錄量測計目前的值。

Record(T, KeyValuePair<String,Object>[])

記錄量測計目前的值。

Record(T, TagList)

記錄量測計目前的值。

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

記錄量測計目前的值。

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

記錄量測計目前的值。

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

記錄量測計目前的值。

Record(T)

記錄量測計目前的值。

public:
 void Record(T value);
public void Record (T value);
member this.Record : 'T -> unit
Public Sub Record (value As T)

參數

value
T

量測計目前的值。

適用於

Record(T, KeyValuePair<String,Object>)

記錄量測計目前的值。

public:
 void Record(T value, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag);
public void Record (T value, System.Collections.Generic.KeyValuePair<string,object?> tag);
member this.Record : 'T * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Record (value As T, tag As KeyValuePair(Of String, Object))

參數

value
T

量測計目前的值。

tag
KeyValuePair<String,Object>

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

適用於

Record(T, KeyValuePair<String,Object>[])

記錄量測計目前的值。

public:
 void Record(T value, ... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public void Record (T value, params System.Collections.Generic.KeyValuePair<string,object>[] tags);
member this.Record : 'T * System.Collections.Generic.KeyValuePair<string, obj>[] -> unit
Public Sub Record (value As T, ParamArray tags As KeyValuePair(Of String, Object)())

參數

value
T

量測計目前的值。

tags
KeyValuePair<String,Object>[]

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

適用於

Record(T, TagList)

記錄量測計目前的值。

public:
 void Record(T value, System::Diagnostics::TagList % tagList);
public void Record (T value, in System.Diagnostics.TagList tagList);
member this.Record : 'T * TagList -> unit
Public Sub Record (value As T, ByRef tagList As TagList)

參數

value
T

量測計目前的值。

tagList
TagList

與度量相關聯的標記 TagList

適用於

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

記錄量測計目前的值。

public:
 void Record(T value, ReadOnlySpan<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> tags);
public void Record (T value, scoped ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
member this.Record : 'T * ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub Record (value As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)))

參數

value
T

量測計目前的值。

tags
ReadOnlySpan<KeyValuePair<String,Object>>

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

適用於

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

記錄量測計目前的值。

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

參數

value
T

量測計目前的值。

tag1
KeyValuePair<String,Object>

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

tag2
KeyValuePair<String,Object>

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

適用於

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

記錄量測計目前的值。

public:
 void Record(T value, 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);
public void Record (T value, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2, System.Collections.Generic.KeyValuePair<string,object?> tag3);
member this.Record : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Record (value As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object), tag3 As KeyValuePair(Of String, Object))

參數

value
T

量測計目前的值。

tag1
KeyValuePair<String,Object>

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

tag2
KeyValuePair<String,Object>

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

tag3
KeyValuePair<String,Object>

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

適用於