單項選擇題

為應(yīng)用程序開發(fā)人員上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作為其應(yīng)用程序開發(fā)平臺。您正在開發(fā).NET框架2.0Windows服務(wù)應(yīng)用程序有三個不同的Windows服務(wù)。您創(chuàng)建了一個名為自定義安裝類從安裝程序類派生的BillAppInstaller。在類中,您決定通過使用ServiceInstaller對象的自定義安裝的每個Windows服務(wù),并將它們添加到下面的安裝程序集合:Installers.Add(serviceInstaller1)Installers.Add(serviceInstaller2)Installers.Add(serviceInstaller3)以后,您編譯的類,并存儲在名為BillAppInstaller.dll的文件中。您需要以編程方式訪問和安裝Windows服務(wù)在BillAppInstaller.dll文件中。你應(yīng)該做什么?()

A.使用ManagedInstallerClass類。
B.使用ComponentInstaller類。
C.使用InstallContext類。
D.使用AssemblyInstaller類。

微信掃碼免費搜題