Compartir a través de


ComponentGuaranteesOptions Enumeration

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

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ComponentGuaranteesOptions
[FlagsAttribute]
public enum ComponentGuaranteesOptions

Members

Member name Description
None The developer does not guarantee compatibility across versions. Consumers of the component, type, or member can expect that future versions will 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 these types in all of their interfaces. Any versioning problems cannot be fixed by side-by-side execution.
Stable The developer promises stable compatibility across versions. Consumers 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, the client may be able to use side-by-side execution to 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.

Remarks

The ComponentGuaranteesOptions enumeration is used by the ComponentGuaranteesAttribute class to indicate the level of compatibility that is guaranteed for a component or class library that spans multiple versions.

For a detailed discussion of the meaning of each guarantee, see the ComponentGuaranteesAttribute topic.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.