GCSettings Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the garbage collection settings for the current process.
Assembly: mscorlib (in mscorlib.dll)
The GCSettings type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | IsServerGC | Gets a value that indicates whether server garbage collection is enabled. |
![]() ![]() | LatencyMode | Gets or sets the current latency mode for garbage collection. |
Use the IsServerGC property to determine whether server garbage collection is enabled for the current process.
Show:

