ComponentGuaranteesAttribute(ComponentGuaranteesOptions) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用一个值初始化类的新实例 ComponentGuaranteesAttribute ,该值指示库、类型或成员跨多个版本保证的兼容性级别。
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)
参数
- guarantees
- ComponentGuaranteesOptions
枚举值之一,指定跨多个版本保证的兼容性级别。
注解
ComponentGuaranteesAttribute实例化类时,参数guarantees的值将Guarantees分配给属性。