|
93 | 93 | </remarks>
|
94 | 94 | <altmember cref="T:System.Runtime.GCSettings" />
|
95 | 95 | <related type="Article" href="~/docs/standard/garbage-collection/index.md">Garbage Collection</related>
|
96 |
| - <related type="Article" href="https://msdn.microsoft.com/library/67c5a20d-1be1-4ea7-8a9a-92b0b08658d2">Fundamentals of Garbage Collection</related> |
| 96 | + <related type="Article" href="~/docs/standard/garbage-collection/fundamentals.md">Fundamentals of Garbage Collection</related> |
97 | 97 | </Docs>
|
98 | 98 | <Members>
|
99 | 99 | <Member MemberName="AddMemoryPressure">
|
|
218 | 218 | <exception cref="T:System.InvalidOperationException">This member is not available when concurrent garbage collection is enabled. See the [<gcConcurrent>](~/docs/framework/configure-apps/file-schema/runtime/gcconcurrent-element.md) runtime setting for information about how to disable concurrent garbage collection.</exception>
|
219 | 219 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
220 | 220 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
221 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 221 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
222 | 222 | </Docs>
|
223 | 223 | </Member>
|
224 | 224 | <MemberGroup MemberName="Collect">
|
|
298 | 298 |
|
299 | 299 | ]]></format>
|
300 | 300 | </remarks>
|
301 |
| - <related type="Article" href="https://msdn.microsoft.com/library/019008fe-4708-4e65-bebf-04fd9941e149">Induced Collections</related> |
| 301 | + <related type="Article" href="~/docs/standard/garbage-collection/induced.md">Induced Collections</related> |
302 | 302 | </Docs>
|
303 | 303 | </Member>
|
304 | 304 | <Member MemberName="Collect">
|
|
364 | 364 | </remarks>
|
365 | 365 | <exception cref="T:System.ArgumentOutOfRangeException">
|
366 | 366 | <paramref name="generation" /> is not valid.</exception>
|
367 |
| - <related type="Article" href="https://msdn.microsoft.com/library/019008fe-4708-4e65-bebf-04fd9941e149">Induced Collections</related> |
| 367 | + <related type="Article" href="~/docs/standard/garbage-collection/induced.md">Induced Collections</related> |
368 | 368 | </Docs>
|
369 | 369 | </Member>
|
370 | 370 | <Member MemberName="Collect">
|
|
441 | 441 | -or-
|
442 | 442 |
|
443 | 443 | <paramref name="mode" /> is not one of the <see cref="T:System.GCCollectionMode" /> values.</exception>
|
444 |
| - <related type="Article" href="https://msdn.microsoft.com/library/019008fe-4708-4e65-bebf-04fd9941e149">Induced Collections</related> |
| 444 | + <related type="Article" href="~/docs/standard/garbage-collection/induced.md">Induced Collections</related> |
445 | 445 | </Docs>
|
446 | 446 | </Member>
|
447 | 447 | <Member MemberName="Collect">
|
|
699 | 699 | A memory allocation exceeded the amount specified in the call to the <see cref="M:System.GC.TryStartNoGCRegion(System.Int64)" /> method.</exception>
|
700 | 700 | <altmember cref="M:System.GC.TryStartNoGCRegion(System.Int64)" />
|
701 | 701 | <altmember cref="P:System.Runtime.GCSettings.LatencyMode" />
|
702 |
| - <related type="Article" href="https://msdn.microsoft.com/library/96278bb7-6eab-4612-8594-ceebfc887d81">Latency Modes</related> |
| 702 | + <related type="Article" href="~/docs/standard/garbage-collection/latency.md">Latency Modes</related> |
703 | 703 | </Docs>
|
704 | 704 | </Member>
|
705 | 705 | <Member MemberName="GetAllocatedBytesForCurrentThread">
|
@@ -1118,22 +1118,20 @@ This method is most useful in monitoring scenarios for measuring the difference
|
1118 | 1118 |
|
1119 | 1119 | If object aging is implemented, the <xref:System.GC.MaxGeneration%2A> property returns the maximum generation number used by the system; otherwise, this property returns zero.
|
1120 | 1120 |
|
1121 |
| - |
| 1121 | + For this implementation, the value returned by the <xref:System.GC.MaxGeneration> property is guaranteed to remain constant for the lifetime of an executing application. |
1122 | 1122 |
|
| 1123 | + Use the <xref:System.GC.MaxGeneration> property to determine the maximum value you can specify when calling the <xref:System.GC.Collect%28System.Int32%29> method that takes a generation parameter. |
| 1124 | + |
| 1125 | + |
1123 | 1126 | ## Examples
|
1124 |
| - The following example demonstrates how to use the MaxGeneration property to display the largest generation number currently in use. |
| 1127 | + The following example demonstrates how to use the <xref:System.GC.MaxGeneration> property to display the largest generation number currently in use. |
1125 | 1128 |
|
1126 | 1129 | [!code-cpp[System.GC.Collect Int Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.gc.collect int example/CPP/class1.cpp#1)]
|
1127 | 1130 | [!code-csharp[System.GC.Collect Int Example#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.gc.collect int example/CS/class1.cs#1)]
|
1128 | 1131 | [!code-vb[System.GC.Collect Int Example#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb#1)]
|
1129 | 1132 |
|
1130 | 1133 | ]]></format>
|
1131 |
| - </remarks> |
1132 |
| - <block subset="none" type="overrides"> |
1133 |
| - <para>For this implementation, the value returned by the <see cref="P:System.GC.MaxGeneration" /> property is guaranteed to remain constant for the lifetime of an executing application. |
1134 |
| - |
1135 |
| - Use the <see cref="P:System.GC.MaxGeneration" /> property to determine the maximum value you can specify when calling the <see cref="M:System.GC.Collect(System.Int32)" /> method that takes a generation parameter.</para> |
1136 |
| - </block> |
| 1134 | + </remarks> |
1137 | 1135 | <altmember cref="M:System.GC.GetGeneration(System.Object)" />
|
1138 | 1136 | </Docs>
|
1139 | 1137 | </Member>
|
@@ -1220,7 +1218,7 @@ This method is most useful in monitoring scenarios for measuring the difference
|
1220 | 1218 | <paramref name="maxGenerationThreshold" /> or <paramref name="largeObjectHeapThreshold" /> is not between 1 and 99.</exception>
|
1221 | 1219 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
1222 | 1220 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
1223 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 1221 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
1224 | 1222 | <exception cref="T:System.InvalidOperationException">This member is not available when concurrent garbage collection is enabled. See the <gcConcurrent> runtime setting for information about how to disable concurrent garbage collection.</exception>
|
1225 | 1223 | </Docs>
|
1226 | 1224 | </Member>
|
@@ -1349,7 +1347,7 @@ This method is most useful in monitoring scenarios for measuring the difference
|
1349 | 1347 |
|
1350 | 1348 |
|
1351 | 1349 | ## Examples
|
1352 |
| - The following example demonstrates how to use the ReRegisterForFinalize method to finalize an object a second time after garbage collection. |
| 1350 | + The following example demonstrates how to use the <xref:System.GC.ReRegisterForFinalize%2A> method to finalize an object a second time after garbage collection. |
1353 | 1351 |
|
1354 | 1352 | [!code-cpp[System.GC.ReregisterForFinalize Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/CPP/class1.cpp#1)]
|
1355 | 1353 | [!code-csharp[System.GC.ReregisterForFinalize Example#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/CS/class1.cs#1)]
|
@@ -1435,7 +1433,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1435 | 1433 | <paramref name="obj" /> is <see langword="null" />.</exception>
|
1436 | 1434 | <altmember cref="M:System.GC.ReRegisterForFinalize(System.Object)" />
|
1437 | 1435 | <altmember cref="M:System.Object.Finalize" />
|
1438 |
| - <related type="Article" href="https://msdn.microsoft.com/library/31a6c13b-d6a2-492b-9a9f-e5238c983bcb">Dispose Pattern</related> |
| 1436 | + <related type="Article" href="~/docs/standard/garbage-collection/implementing-dispose.md">Dispose Pattern</related> |
1439 | 1437 | </Docs>
|
1440 | 1438 | </Member>
|
1441 | 1439 | <MemberGroup MemberName="TryStartNoGCRegion">
|
@@ -1517,8 +1515,8 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1517 | 1515 | <paramref name="totalSize" /> exceeds the ephemeral segment size.</exception>
|
1518 | 1516 | <exception cref="T:System.InvalidOperationException">The process is already in no GC region latency mode.</exception>
|
1519 | 1517 | <altmember cref="M:System.GC.EndNoGCRegion" />
|
1520 |
| - <related type="Article" href="https://msdn.microsoft.com/library/67c5a20d-1be1-4ea7-8a9a-92b0b08658d2">Fundamentals of Garbage Collection</related> |
1521 |
| - <related type="Article" href="https://msdn.microsoft.com/library/96278bb7-6eab-4612-8594-ceebfc887d81">Latency Modes</related> |
| 1518 | + <related type="Article" href="~/docs/standard/garbage-collection/fundamentals.md">Fundamentals of Garbage Collection</related> |
| 1519 | + <related type="Article" href="~/docs/standard/garbage-collection/latency.md">Latency Modes</related> |
1522 | 1520 | </Docs>
|
1523 | 1521 | </Member>
|
1524 | 1522 | <Member MemberName="TryStartNoGCRegion">
|
@@ -1584,8 +1582,8 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1584 | 1582 | <paramref name="totalSize" /> exceeds the ephemeral segment size.</exception>
|
1585 | 1583 | <exception cref="T:System.InvalidOperationException">The process is already in no GC region latency mode.</exception>
|
1586 | 1584 | <altmember cref="M:System.GC.EndNoGCRegion" />
|
1587 |
| - <related type="Article" href="https://msdn.microsoft.com/library/67c5a20d-1be1-4ea7-8a9a-92b0b08658d2">Fundamentals of Garbage Collection</related> |
1588 |
| - <related type="Article" href="https://msdn.microsoft.com/library/96278bb7-6eab-4612-8594-ceebfc887d81">Latency Modes</related> |
| 1585 | + <related type="Article" href="~/docs/standard/garbage-collection/fundamentals.md">Fundamentals of Garbage Collection</related> |
| 1586 | + <related type="Article" href="~/docs/standard/garbage-collection/latency.md">Latency Modes</related> |
1589 | 1587 | </Docs>
|
1590 | 1588 | </Member>
|
1591 | 1589 | <Member MemberName="TryStartNoGCRegion">
|
@@ -1648,8 +1646,8 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1648 | 1646 | <paramref name="totalSize" /> - <paramref name="lohSize" /> exceeds the ephemeral segment size.</exception>
|
1649 | 1647 | <exception cref="T:System.InvalidOperationException">The process is already in no GC region latency mode.</exception>
|
1650 | 1648 | <altmember cref="M:System.GC.EndNoGCRegion" />
|
1651 |
| - <related type="Article" href="https://msdn.microsoft.com/library/67c5a20d-1be1-4ea7-8a9a-92b0b08658d2">Fundamentals of Garbage Collection</related> |
1652 |
| - <related type="Article" href="https://msdn.microsoft.com/library/96278bb7-6eab-4612-8594-ceebfc887d81">Latency Modes</related> |
| 1649 | + <related type="Article" href="~/docs/standard/garbage-collection/fundamentals.md">Fundamentals of Garbage Collection</related> |
| 1650 | + <related type="Article" href="~/docs/standard/garbage-collection/latency.md">Latency Modes</related> |
1653 | 1651 | </Docs>
|
1654 | 1652 | </Member>
|
1655 | 1653 | <Member MemberName="TryStartNoGCRegion">
|
@@ -1717,8 +1715,8 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1717 | 1715 | <paramref name="totalSize" /> - <paramref name="lohSize" /> exceeds the ephemeral segment size.</exception>
|
1718 | 1716 | <exception cref="T:System.InvalidOperationException">The process is already in no GC region latency mode.</exception>
|
1719 | 1717 | <altmember cref="M:System.GC.EndNoGCRegion" />
|
1720 |
| - <related type="Article" href="https://msdn.microsoft.com/library/67c5a20d-1be1-4ea7-8a9a-92b0b08658d2">Fundamentals of Garbage Collection</related> |
1721 |
| - <related type="Article" href="https://msdn.microsoft.com/library/96278bb7-6eab-4612-8594-ceebfc887d81">Latency Modes</related> |
| 1718 | + <related type="Article" href="~/docs/standard/garbage-collection/fundamentals.md">Fundamentals of Garbage Collection</related> |
| 1719 | + <related type="Article" href="~/docs/standard/garbage-collection/latency.md">Latency Modes</related> |
1722 | 1720 | </Docs>
|
1723 | 1721 | </Member>
|
1724 | 1722 | <MemberGroup MemberName="WaitForFullGCApproach">
|
@@ -1792,7 +1790,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1792 | 1790 | </remarks>
|
1793 | 1791 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
1794 | 1792 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
1795 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 1793 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
1796 | 1794 | </Docs>
|
1797 | 1795 | </Member>
|
1798 | 1796 | <Member MemberName="WaitForFullGCApproach">
|
@@ -1854,7 +1852,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1854 | 1852 | <paramref name="millisecondsTimeout" /> must be either non-negative or less than or equal to <see cref="F:System.Int32.MaxValue" /> or -1.</exception>
|
1855 | 1853 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
1856 | 1854 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
1857 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 1855 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
1858 | 1856 | </Docs>
|
1859 | 1857 | </Member>
|
1860 | 1858 | <MemberGroup MemberName="WaitForFullGCComplete">
|
@@ -1928,7 +1926,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1928 | 1926 | </remarks>
|
1929 | 1927 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
1930 | 1928 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
1931 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 1929 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
1932 | 1930 | </Docs>
|
1933 | 1931 | </Member>
|
1934 | 1932 | <Member MemberName="WaitForFullGCComplete">
|
@@ -1990,7 +1988,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer
|
1990 | 1988 | <paramref name="millisecondsTimeout" /> must be either non-negative or less than or equal to <see cref="F:System.Int32.MaxValue" /> or -1.</exception>
|
1991 | 1989 | <permission cref="F:System.Security.Permissions.SecurityAction.LinkDemand">for full trust for the immediate caller. This member cannot be used by partially trusted code.</permission>
|
1992 | 1990 | <permission cref="T:System.Security.SecurityCriticalAttribute">requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.</permission>
|
1993 |
| - <related type="Article" href="https://msdn.microsoft.com/library/e12d8e74-31e3-4035-a87d-f3e66f0a9b89">Garbage Collection Notifications</related> |
| 1991 | + <related type="Article" href="~/docs/standard/garbage-collection/notifications.md">Garbage Collection Notifications</related> |
1994 | 1992 | </Docs>
|
1995 | 1993 | </Member>
|
1996 | 1994 | <Member MemberName="WaitForPendingFinalizers">
|
|
0 commit comments