欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-536)

单项选择题

You work as an application developer at Certkiller .com. You have recently created a business application, which requires complex installation logic. You add the following code to your project after electing to create a custom installer for the business application. public class ApplicationInstaller : Intaller { public override void Install (IDictionary stateSaver) { //Install the application Base.Install (stateSaver); } public override void Commit (IDictionary savedState) { //Commit the application Base.Commit (savedState); } public override void Rollback (IDictionary savedState) { //Rollback the application Base.Rollback (savedState); } public override void Uninstall (IDictionary savedState) { //UnInstall the application Base.Uninstall (savedState); } } What should be done NEXT?()

    A. The assembly should be compiled and the Install.exe tool should be run.
    B. The RunInstaller attribute should be added to the business application assembly and it should be set to true.
    C. The assembly should be compiled and should be run as normal.
    D. The RunInstaller attribute should be added to the ApplicationInstaller class and it should be set to true.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题