在复习微软的过程中中还是不够全面,为了帮助广大考生系统全面的复习好《微软认证学科》,我们考吧网整理了微软认证模拟试题,本次汇编的模拟试题希望对你的考试有所帮助,预祝你考试顺利。
编辑推荐:2013年微软认证:微软认证考试必备经典试题汇总三
You plan to manage the unhandled application exceptions.
You need to perform the following tasks:
Display the ErrorPage.aspx page Write the exceptioninformation in the Event log file.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
A. |
Add the following code fragment to the Web.config file. |
B. |
Add the following code fragment to the Web.config file. |
C. |
Add the following code segment to the Global.asax file. void Application_Error(object sender, EventArgs e) { Exception exc = Server.GetLastError(); //Write Exception details to event log } |
D. |
Add the following code segment to the ErrorPage.aspx file. void Page_Error(object sender, EventArgs e) { Exception exc = Server.GetLastError(); //Write Exception details to event log Server.ClearError(); } |
Answer: AC