System.Runtime Namespace
The System.Runtime namespace contains advanced types that support diverse namespaces such as the System, Runtime, and the Security namespaces.
| Class | Description | |
|---|---|---|
![]() | AssemblyTargetedPatchBandAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies patch band information for targeted patching of the .NET Framework. |
![]() | GCSettings | Specifies the garbage collection settings for the current process. |
![]() | MemoryFailPoint | Checks for sufficient memory resources before executing an operation. This class cannot be inherited. |
![]() | ProfileOptimization | Improves the startup performance of application domains in applications that require the just-in-time (JIT) compiler by performing background compilation of methods that are likely to be executed, based on profiles created during previous compilations. |
![]() | TargetedPatchingOptOutAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Indicates that the .NET Framework class library method to which this attribute is applied is unlikely to be affected by servicing releases, and therefore is eligible to be inlined across Native Image Generator (NGen) images. |
| Enumeration | Description | |
|---|---|---|
![]() | GCLargeObjectHeapCompactionMode | [Supported in the .NET Framework 4.5.1 and later versions] Indicates whether the next blocking garbage collection compacts the large object heap (LOH). |
![]() | GCLatencyMode | Adjusts the time that the garbage collector intrudes in your application. |
The types found in this namespace are intended for use in advanced development.

