You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/Meter.xml
+91-6Lines changed: 91 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -765,6 +765,9 @@ Example uses for Histogram: The request duration and the size of the response pa
765
765
766
766
## Remarks
767
767
768
+
> [!NOTE]
769
+
> Unlike `Counter`, which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
770
+
768
771
Example uses for ObservableCounter: The number of page faults for each process.
769
772
770
773
]]></format>
@@ -836,6 +839,9 @@ Example uses for ObservableCounter: The number of page faults for each process.
836
839
837
840
## Remarks
838
841
842
+
> [!NOTE]
843
+
> Unlike Counter which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
844
+
839
845
Example uses for ObservableCounter: The number of page faults for each process.
840
846
841
847
]]></format>
@@ -907,6 +913,9 @@ Example uses for ObservableCounter: The number of page faults for each process.
907
913
908
914
## Remarks
909
915
916
+
> [!NOTE]
917
+
> Unlike Counter which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
918
+
910
919
Example uses for ObservableCounter: The number of page faults for each process.
911
920
912
921
]]></format>
@@ -992,7 +1001,18 @@ Example uses for ObservableCounter: The number of page faults for each process.
992
1001
<paramname="tags">The tags to attach to the counter.</param>
993
1002
<summary>Creates an ObservableCounter instance, which is an Instrument that reports monotonically increasing value(s) when the instrument is being observed.</summary>
994
1003
<returns>A new observable counter.</returns>
995
-
<remarks>Example uses for ObservableCounter: The number of page faults for each process.</remarks>
1004
+
<remarks>
1005
+
<formattype="text/markdown"><![CDATA[
1006
+
1007
+
## Remarks
1008
+
1009
+
> [!NOTE]
1010
+
> Unlike `Counter`, which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
1011
+
1012
+
Example uses for `ObservableCounter`: The number of page faults for each process.
@@ -1074,7 +1094,17 @@ Example uses for ObservableCounter: The number of page faults for each process.
1074
1094
<paramname="tags">The tags to attach to the counter.</param>
1075
1095
<summary>Creates an ObservableCounter instance, which is an Instrument that reports monotonically increasing value(s) when the instrument is being observed.</summary>
1076
1096
<returns>A new observable counter.</returns>
1077
-
<remarks>Example uses for ObservableCounter: The number of page faults for each process.</remarks>
1097
+
<remarks>
1098
+
<formattype="text/markdown"><![CDATA[
1099
+
## Remarks
1100
+
1101
+
> [!NOTE]
1102
+
> Unlike Counter which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
1103
+
1104
+
Example uses for ObservableCounter: The number of page faults for each process.
@@ -1156,7 +1186,18 @@ Example uses for ObservableCounter: The number of page faults for each process.
1156
1186
<paramname="tags">The tags to attach to the counter.</param>
1157
1187
<summary>Creates an ObservableCounter instance, which is an Instrument that reports monotonically increasing value(s) when the instrument is being observed.</summary>
1158
1188
<returns>A new observable counter.</returns>
1159
-
<remarks>Example uses for ObservableCounter: The number of page faults for each process.</remarks>
1189
+
<remarks>
1190
+
<formattype="text/markdown"><![CDATA[
1191
+
1192
+
## Remarks
1193
+
1194
+
> [!NOTE]
1195
+
> Unlike Counter which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
1196
+
1197
+
Example uses for ObservableCounter: The number of page faults for each process.
@@ -1658,6 +1699,9 @@ Example uses for ObservableCounter: The number of page faults for each process.
1658
1699
1659
1700
## Remarks
1660
1701
1702
+
> [!NOTE]
1703
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
1704
+
1661
1705
Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.
1662
1706
1663
1707
]]></format>
@@ -1728,6 +1772,9 @@ Example uses for ObservableUpDownCounter: the process heap size or the approxima
1728
1772
1729
1773
## Remarks
1730
1774
1775
+
> [!NOTE]
1776
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
1777
+
1731
1778
Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.
1732
1779
1733
1780
]]></format>
@@ -1798,6 +1845,9 @@ Example uses for ObservableUpDownCounter: the process heap size or the approxima
1798
1845
1799
1846
## Remarks
1800
1847
1848
+
> [!NOTE]
1849
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
1850
+
1801
1851
Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.
1802
1852
1803
1853
]]></format>
@@ -1883,7 +1933,19 @@ Example uses for ObservableUpDownCounter: the process heap size or the approxima
1883
1933
<paramname="tags">tags to attach to the counter.</param>
1884
1934
<summary>Create an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument which reports increasing or decreasing value(s) when the instrument is being observed.</summary>
1885
1935
<returns>A new observable up down counter.</returns>
1886
-
<remarks>Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.</remarks>
1936
+
<remarks>
1937
+
<formattype="text/markdown"><![CDATA[
1938
+
1939
+
## Remarks
1940
+
1941
+
> [!NOTE]
1942
+
> Unlike `UpDownCounter`, which takes the increment/delta value, the callback function reports the absolute value of the `ObservableUpDownCounter`. To determine the reported rate the `ObservableUpDownCounter` is changing, the difference between successive measurements is used.
1943
+
1944
+
Example uses for `ObservableUpDownCounter`: the process heap size or the approximate number of items in a lock-free circular buffer.
@@ -1965,7 +2027,19 @@ Example uses for ObservableUpDownCounter: the process heap size or the approxima
1965
2027
<paramname="tags">tags to attach to the counter.</param>
1966
2028
<summary>Create an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument which reports increasing or decreasing value(s) when the instrument is being observed.</summary>
1967
2029
<returns>A new observable up down counter.</returns>
1968
-
<remarks>Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.</remarks>
2030
+
<remarks>
2031
+
<formattype="text/markdown"><![CDATA[
2032
+
2033
+
## Remarks
2034
+
2035
+
> [!NOTE]
2036
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
2037
+
2038
+
Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.
@@ -2047,7 +2121,18 @@ Example uses for ObservableUpDownCounter: the process heap size or the approxima
2047
2121
<paramname="tags">tags to attach to the counter.</param>
2048
2122
<summary>Create an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument which reports increasing or decreasing value(s) when the instrument is being observed.</summary>
2049
2123
<returns>A new observable up down counter.</returns>
2050
-
<remarks>Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.</remarks>
2124
+
<remarks>
2125
+
<formattype="text/markdown"><![CDATA[
2126
+
2127
+
## Remarks
2128
+
2129
+
> [!NOTE]
2130
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
2131
+
2132
+
Example uses for ObservableUpDownCounter: the process heap size or the approximate number of items in a lock-free circular buffer.
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/ObservableCounter`1.xml
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@
36
36
37
37
## Remarks
38
38
39
+
> [!NOTE]
40
+
> Unlike `Counter`, which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
41
+
39
42
This class supports only the following generic parameter types: <xref:System.Byte>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.Single>, <xref:System.Double>, and <xref:System.Decimal>.
40
43
41
44
]]></format>
@@ -65,7 +68,16 @@ This class supports only the following generic parameter types: <xref:System.Byt
65
68
<Docs>
66
69
<summary>Fetches the current measurements being tracked by this observable counter.</summary>
67
70
<returns>The current measurements being tracked by this observable counter.</returns>
68
-
<remarks>To be added.</remarks>
71
+
<remarks>
72
+
<formattype="text/markdown"><![CDATA[
73
+
74
+
## Remarks
75
+
76
+
> [!NOTE]
77
+
> Unlike Counter which takes the increment/delta value, the callback function reports the absolute value of the counter. To determine the reported rate the counter is changing, the difference between successive measurements is used.
Copy file name to clipboardExpand all lines: xml/System.Diagnostics.Metrics/ObservableUpDownCounter`1.xml
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,9 @@ To create an ObservableUpDownCounter object, use the <see cref="Overload:System.
37
37
38
38
## Remarks
39
39
40
+
> [!NOTE]
41
+
> Unlike `UpDownCounter`, which takes the increment/delta value, the callback function reports the absolute value of the `ObservableUpDownCounter`. To determine the reported rate that the `ObservableUpDownCounter` is changing, the difference between successive measurements is used.
42
+
40
43
This class supports only the following generic parameter types: <xref:System.Byte>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.Single>, <xref:System.Double>, and <xref:System.Decimal>.
41
44
42
45
]]></format>
@@ -64,7 +67,17 @@ This class supports only the following generic parameter types: <xref:System.Byt
64
67
<Docs>
65
68
<summary>Fetches the current measurements being tracked by this observable counter.</summary>
66
69
<returns>To be added.</returns>
67
-
<remarks>To be added.</remarks>
70
+
<remarks>
71
+
<formattype="text/markdown"><![CDATA[
72
+
73
+
## Remarks
74
+
75
+
> [!NOTE]
76
+
> Unlike UpDownCounter which takes the increment/delta value, the callback function reports the absolute value of the ObservableUpDownCounter. To determine the reported rate the ObservableUpDownCounter is changing, the difference between successive measurements is used.
Copy file name to clipboardExpand all lines: xml/System.Globalization/CultureInfo.xml
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,9 @@ Predefined culture identifiers for cultures available on Windows system are list
173
173
> [!NOTE]
174
174
> For backwards compatibility, a culture constructed using a `culture` parameter of 0x0004 or 0x7c04 will have a <xref:System.Globalization.CultureInfo.Name%2A> property of `zh-CHS` or `zh-CHT`, respectively. You should instead prefer to construct the culture using the current standard culture names of `zh-Hans` or `zh-Hant`, unless you have a reason for using the older names.
175
175
176
+
> [!NOTE]
177
+
> LCIDs are being deprecated, and implementers are strongly encouraged to use newer versions of APIs that support BCP 47 locale names instead. Each LCID can be represented by a BCP 47 locale name, but the reverse is not true. The LCID range is restricted and unable to uniquely identify all the possible combinations of language and region.
@@ -361,6 +364,9 @@ Predefined culture identifiers available on Windows systems are listed in the **
361
364
> [!NOTE]
362
365
> For backwards compatibility, a culture constructed using a `culture` parameter of 0x0004 or 0x7c04 will have a <xref:System.Globalization.CultureInfo.Name%2A> property of zh-CHS or zh-CHT, respectively. You should instead prefer to construct the culture using the current standard culture names of `zh-Hans` or zh-Hant, unless you have a reason for using the older names.
363
366
367
+
> [!NOTE]
368
+
> LCIDs are being deprecated, and implementers are strongly encouraged to use newer versions of APIs that support BCP 47 locale names instead. Each LCID can be represented by a BCP 47 locale name, but the reverse is not true. The LCID range is restricted and unable to uniquely identify all the possible combinations of language and region.
If `culture` is the locale identifier of the current culture, the returned <xref:System.Globalization.CultureInfo> object does not reflect any user overrides.
1777
1783
1784
+
> [!NOTE]
1785
+
> LCIDs are being deprecated, and implementers are strongly encouraged to use newer versions of APIs that support BCP 47 locale names instead. Each LCID can be represented by a BCP 47 locale name, but the reverse is not true. The LCID range is restricted and unable to uniquely identify all the possible combinations of language and region.
@@ -2690,7 +2699,8 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the
2690
2699
2691
2700
In versions of Windows prior to Windows 10, the locale identifier `LOCALE_CUSTOM_UNSPECIFIED` (0x1000, or 4096) is assigned to custom cultures created by the user. Starting with Windows 10, it is assigned to any culture that does not have a unique locale identifier and does not have complete system-provided data. As a result, code that iterates cultures and retrieves those with an <xref:System.Globalization.CultureInfo.LCID%2A> value of `LOCALE_CUSTOM_UNSPECIFIED` returns a larger subset of <xref:System.Globalization.CultureInfo> objects if run under Windows 10.
2692
2701
2693
-
2702
+
> [!NOTE]
2703
+
> LCIDs are being deprecated, and implementers are strongly encouraged to use newer versions of APIs that support BCP 47 locale names instead. Each LCID can be represented by a BCP 47 locale name, but the reverse is not true. The LCID range is restricted and unable to uniquely identify all the possible combinations of language and region.
2694
2704
2695
2705
## Examples
2696
2706
The following code example shows how to create a <xref:System.Globalization.CultureInfo> for Spanish (Spain) with the international sort order and another <xref:System.Globalization.CultureInfo> with the traditional sort order.
0 commit comments