AssemblyName.VersionCompatibility 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.
获取或设置与程序集同其他程序集的兼容性相关的信息。
public:
property System::Configuration::Assemblies::AssemblyVersionCompatibility VersionCompatibility { System::Configuration::Assemblies::AssemblyVersionCompatibility get(); void set(System::Configuration::Assemblies::AssemblyVersionCompatibility value); };
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
[System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get; set; }
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
[<System.Obsolete("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.VersionCompatibility : System.Configuration.Assemblies.AssemblyVersionCompatibility with get, set
Public Property VersionCompatibility As AssemblyVersionCompatibility
属性值
一个值,表示有关程序集同其他程序集的兼容性的信息。
- 属性
注解
VersionCompatibility 例如,信息指示程序集无法与其他版本并行执行,因为设备驱动程序存在冲突。
目前, VersionCompatibility 始终返回 AssemblyVersionCompatibility.SameMachine,加载程序不使用 。 此属性是为将来的功能保留的。