单项选择题
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.
相关考题
-
多项选择题
YouworkasanapplicationdeveloperatCertkiller.com.YouareintheprocessofcreatinganapplicationforCertkiller.com’sHumanResourcesdepartmentthattracksemployeebenefits.Youhavetostorecurrentemployeedatawithoutrecompilingtheapplication.Youelecttostorethisemployeedataasacustomsectionintheapplicationconfigurationfile.Therelevantportionoftheapplicationconfigurationfileisshowninthefollowingexhibit:Youwanttousethe.NET2.0ConfigurationAPItoaccessthecustomsection.YouneedtoensurethatprogrammaticaccessoftheEmployeeSectionelementisenabled.Whatshouldyoudo?()
A. Create a custom section handler class that inherits the ConfigurationSection interface.
B. Add a section element to the EmployeeSection element of the application configuration file.
C. Create a custom section handler class that implements the IConfigurationSectionHandler interface.
D. Add an EmployeeSection element to the configSections element of the application configuration file.
E. Create a custom section handler class that implements the IApplicatioSettingsProvider interface.
F. Add a section element to the configSections element of the application configuration file. -
单项选择题
You work as an application developer at Certkiller .com. You have recently completed creating an application that uses an application configuration file. This configuration file contains a section named EmployeeSection, which contains Employee elements.You are required to view the contents of the EmployeeSection element.You need to ensure that the EmployeeSection element outputs its contents to the console. What should you do?()
A.A
B.B
C.C
D.D -
单项选择题
Youareworkingonadebugbuildofanapplication.Youneedtofindthelineofcodethatcausedanexceptiontobethrown.WhichpropertyoftheExceptionclassshouldyouusetoachievethisgoal?()
A.Data
B.Message
C.Stack Trace
D.Source
