ServiceInstaller.IsEquivalentInstaller(ComponentInstaller) Método

Definición

Indica si dos instaladores instalarían el mismo servicio.

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

Parámetros

otherInstaller
ComponentInstaller

objeto ComponentInstaller al que está comparando el instalador actual.

Devoluciones

true si llamar a Install(IDictionary) en ambos instaladores daría lugar a la instalación del mismo servicio; de lo contrario, false.

Comentarios

IsEquivalentInstaller indica, por ejemplo, si dos instaladores instalarían el mismo servicio en la misma cuenta de usuario.

Se aplica a

Consulte también