MessageQueueInstaller.IsEquivalentInstaller(ComponentInstaller) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的安装程序是否可以处理与此安装程序相同的安装类型。
public:
override bool IsEquivalentInstaller(System::Configuration::Install::ComponentInstaller ^ otherInstaller);
public override bool IsEquivalentInstaller(System.Configuration.Install.ComponentInstaller otherInstaller);
override this.IsEquivalentInstaller : System.Configuration.Install.ComponentInstaller -> bool
Public Overrides Function IsEquivalentInstaller (otherInstaller As ComponentInstaller) As Boolean
参数
- otherInstaller
- ComponentInstaller
要比较的安装程序。
返回
true 如果此安装程序和参数指定的 otherInstaller 安装程序可以处理同一类型的安装,则为 ;否则为 false。
注解
通常,IsEquivalentInstaller仅当此安装程序和参数指定的otherInstaller安装程序的类型相同时,才返回true。