System.Runtime.Versioning Namespace

The System.Runtime.Versioning namespace contains advanced types that support versioning in side by side implementations of the .NET Framework.

Remarks

The types found in this namespace are intended for use within the .NET Framework and not for user applications.

Classes

TypeReason
ComponentGuaranteesAttribute

Defines the compatibility guarantee of a component, type, or type member that may span multiple versions.

ComponentGuaranteesOptions

Describes 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

Specifies the resource consumed by the member of a class. This class cannot be inherited.

ResourceExposureAttribute

Specifies the resource exposure for a member of a class. This class cannot be inherited.

ResourceScope

Identifies the scope of a sharable resource.

TargetFrameworkAttribute

Identifies the version of the .NET Framework that a particular assembly was compiled against.

VersioningHelper

Provides methods to aid developers in writing version-safe code. This class cannot be inherited.