System.Runtime.Versioning Namespace
The System.Runtime.Versioning namespace contains advanced types that support versioning in side by side implementations of the .NET Framework.
| Class | Description | |
|---|---|---|
![]() | ComponentGuaranteesAttribute | Defines the compatibility guarantee of a component, type, or type member that may span multiple versions. |
![]() | FrameworkName | Represents the name of a version of the .NET Framework. |
![]() | ResourceConsumptionAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the resource consumed by the member of a class. This class cannot be inherited. |
![]() | ResourceExposureAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the resource exposure for a member of a class. This class cannot be inherited. |
![]() | TargetFrameworkAttribute | Identifies the version of the .NET Framework that a particular assembly was compiled against. |
![]() | VersioningHelper | This API supports the product infrastructure and is not intended to be used directly from your code. Provides methods to aid developers in writing version-safe code. This class cannot be inherited. |
| Enumeration | Description | |
|---|---|---|
![]() | ComponentGuaranteesOptions | Describes the compatibility guarantee of a component, type, or type member that may span multiple versions. |
![]() | ResourceScope | This API supports the product infrastructure and is not intended to be used directly from your code. Identifies the scope of a sharable resource. |
The types found in this namespace are intended for use within the .NET Framework and not for user applications.

