mscorlib(4.0.0.0) API with additions
System.Runtime.Versioning Namespace Reference

Classes

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

Enumerations

enum  ComponentGuaranteesOptions { ComponentGuaranteesOptions.None = 0x0, ComponentGuaranteesOptions.Exchange = 0x1, ComponentGuaranteesOptions.Stable = 0x2, ComponentGuaranteesOptions.SideBySide = 0x4 }
 Describes the compatibility guarantee of a component, type, or type member that may span multiple versions. More...
 
enum  ResourceScope {
  ResourceScope.None = 0x0, ResourceScope.Machine = 0x1, ResourceScope.Process = 0x2, ResourceScope.AppDomain = 0x4,
  ResourceScope.Library = 0x8, ResourceScope.Private = 0x10, ResourceScope.Assembly = 0x20
}
 Identifies the scope of a sharable resource. More...
 
enum  SxSRequirements {
  None = 0x0, AppDomainID = 0x1, ProcessID = 0x2, CLRInstanceID = 0x4,
  AssemblyName = 0x8, TypeName = 0x10
}
 
enum  TargetFrameworkId {
  NotYetChecked, Unrecognized, Unspecified, NetFramework,
  Portable, NetCore, Silverlight, Phone
}
 

Enumeration Type Documentation

◆ ComponentGuaranteesOptions

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

Enumerator
None 

The developer does not guarantee compatibility across versions. Consumers of the component, type, or member can expect future versions to break the existing client.

Exchange 

The developer promises multi-version exchange compatibility for the type. Consumers of the type can expect compatibility across future versions and can use the type in all their interfaces. Versioning problems cannot be fixed by side-by-side execution.

Stable 

The developer promises stable compatibility across versions. Consumers of the type can expect that future versions will not break the existing client. However, if they do and if the client has not used the type in its interfaces, side-by-side execution may fix the problem.

SideBySide 

The component has been tested to work when more than one version of the assembly is loaded into the same application domain. Future versions can break compatibility. However, when such breaking changes are made, the old version is not modified but continues to exist alongside the new version.

Definition at line 6 of file ComponentGuaranteesOptions.cs.

◆ ResourceScope

Identifies the scope of a sharable resource.

Enumerator
None 

There is no shared state.

Machine 

The state is shared by objects within the machine.

Process 

The state is shared within a process.

AppDomain 

The state is shared by objects within an T:System.AppDomain.

Library 

The state is shared by objects within a library.

Private 

The resource is visible to only the type.

Assembly 

The resource is visible at an assembly scope.

Definition at line 5 of file ResourceScope.cs.