MessageQueueInstaller.IsEquivalentInstaller(ComponentInstaller) 方法

定义

确定指定的安装程序是否可以处理与此安装程序相同的安装类型。

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

适用于