Microsoft
70-515 · Question #17
70-515 Question #17: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #17. The question stem and answer options stay visible for context.
Question
You are creating an ASP.NET Web site. You create a HTTP module named CustomModule, and you register the module in the web.config file. The CustomModule class contains the following code. public class CustomModule : IHttpModule { string footerContent = "<div>Footer Content</div>"; public void Dispose() {} } You need to add code to CustomModule to append the footer content to each processed ASP.NET page. Which code segment should you use?
Options
- Apublic CustomModule(HttpApplication app)
- Bpublic void Init(HttpApplication app)
- Cpublic customModule();
- Dpublic void Init(HttpApplication app)
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.