Question:You are troubleshooting the functionality of a Web page. The Web page instantiates a business object class that calls methods of the System.Diagnostics.Trace class. You need to output trace messages from the business object to the Web page. How should you configure the application? To answer, drag the appropriate code segment or segments to the correct location or locations in the answer area. 

A <trace enable="true"/> <add name="Listener1" type="System.Web.WebPage.TraceListener,..."/> <compiler langage="c#;cs;csharp" extension=".cs" warningLevel="1" type="..." compilerOptions=*/d:TRACE/> 

B <add name="Listener1" type="System.Web.WebPage.TraceListener,..."/> <compiler langage="c#;cs;csharp" extension=".cs" warningLevel="1" type="..." compilerOptions=*/d:TRACE/> <trace enable="true"/> 

C <trace enable="true"/> <compiler langage="c#;cs;csharp" extension=".cs" warningLevel="1" type="..." compilerOptions=*/d:TRACE/> 

D <trace wrteToDiagnoticsTrace="true"/> <add name="Listener1" type="System.Web.WebPage.TraceListener,..."/> <compiler langage="c#;cs;csharp" extension=".cs" warningLevel="1" type="..." compilerOptions=*/d:TRACE/> 

+ Answer
+ Report
Total Preview: 894

Copyright © 2024. Powered by Intellect Software Ltd