Breyta

Deila með


System.Runtime.Versioning Namespace

Contains advanced types that support versioning in side by side implementations of .NET.

Classes

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 .NET.

ObsoletedOSPlatformAttribute

Marks APIs that were obsoleted in a given operating system version.

OSPlatformAttribute

Base type for all platform-specific API attributes.

RequiresPreviewFeaturesAttribute

Indicates that an API is in preview. This attribute allows call sites to be flagged with a diagnostic that indicates that a preview feature is used. Authors can use this attribute to ship preview features in their assemblies.

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.

SupportedOSPlatformAttribute

Indicates that an API is supported for a specified platform or operating system. If a version is specified, the API cannot be called from an earlier version. Multiple attributes can be applied to indicate support on multiple operating systems.

SupportedOSPlatformGuardAttribute

Annotates a custom guard field, property or method with a supported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple supported platforms.

TargetFrameworkAttribute

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

TargetPlatformAttribute

Specifies the operating system that a project targets, for example, Windows or iOS.

UnsupportedOSPlatformAttribute

Marks APIs that were removed or are unsupported in a given operating system version.

UnsupportedOSPlatformGuardAttribute

Annotates the custom guard field, property or method with an unsupported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple unsupported platforms.

VersioningHelper

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

Enums

ComponentGuaranteesOptions

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

ResourceScope

Identifies the scope of a sharable resource.

Remarks

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