ComponentGuaranteesAttribute(ComponentGuaranteesOptions) Constructor

Definition

Initializes a new instance of the ComponentGuaranteesAttribute class with a value that indicates a library, type, or member's guaranteed level of compatibility across multiple versions.

public:
 ComponentGuaranteesAttribute(System::Runtime::Versioning::ComponentGuaranteesOptions guarantees);
public ComponentGuaranteesAttribute (System.Runtime.Versioning.ComponentGuaranteesOptions guarantees);
new System.Runtime.Versioning.ComponentGuaranteesAttribute : System.Runtime.Versioning.ComponentGuaranteesOptions -> System.Runtime.Versioning.ComponentGuaranteesAttribute
Public Sub New (guarantees As ComponentGuaranteesOptions)

Parameters

guarantees
ComponentGuaranteesOptions

One of the enumeration values that specifies the level of compatibility that is guaranteed across multiple versions.

Remarks

When the ComponentGuaranteesAttribute class is instantiated, the value of the guarantees parameter is assigned to the Guarantees property.

Applies to