Bagikan melalui


System.Runtime.Versioning Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Classes

  Class Description
Public class ComponentGuaranteesAttribute Defines the compatibility guarantee of a component, type, or type member that may span multiple versions.
Public class ResourceExposureAttribute Infrastructure. Specifies the resource exposure for a member of a class. This class cannot be inherited.
Public class TargetFrameworkAttribute Identifies the version of the .NET Framework that a particular assembly was compiled against.
Public class VersioningHelper Infrastructure. Provides methods to aid developers in writing version-safe code. This class cannot be inherited.

Enumerations

  Enumeration Description
Public enumeration ComponentGuaranteesOptions Indicates the compatibility guarantee of a component, type, or type member that may span multiple versions.
Public enumeration ResourceScope Infrastructure. Identifies the scope of a sharable resource.