Freigeben über


ComponentGuaranteesAttribute(ComponentGuaranteesOptions) Konstruktor

Definition

Initialisiert eine neue Instanz der ComponentGuaranteesAttribute Klasse mit einem Wert, der die garantierte Kompatibilitätsebene einer Bibliothek, eines Typs oder eines Mitglieds in mehreren Versionen angibt.

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)

Parameter

guarantees
ComponentGuaranteesOptions

Einer der Enumerationswerte, der die Kompatibilitätsebene angibt, die für mehrere Versionen garantiert ist.

Hinweise

Wenn die ComponentGuaranteesAttribute Klasse instanziiert wird, wird der Wert des guarantees Parameters der Guarantees Eigenschaft zugewiesen.

Gilt für: