MessageQueueInstaller.IsEquivalentInstaller(ComponentInstaller) 方法
定义
确定指定的安装程序能否处理与此安装程序相同的安装类型。Determines whether the specified installer can handle the same kind of installation as this installer.
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
要比较的安装程序。The installer to compare.
返回
如果此安装程序和 otherInstaller 参数指定的安装程序可以处理相同的安装类型,则为 true;否则为 false。true if this installer and the installer specified by the otherInstaller parameter can handle the same kind of installation; otherwise, false.
注解
通常, IsEquivalentInstaller true 仅当此安装程序和参数指定的安装程序 otherInstaller 属于同一类型时才返回。Typically, IsEquivalentInstaller returns true only if this installer and the installer specified by the otherInstaller parameter are of the same type.