READ Free Dumps For Microsoft- 70-483
Question ID 17034 | You are developing an application that uses structured exception handling. The application
includes a class named Logger. The Logger class implements a method named Log by
using the following code segment:
public static void Log(Exception ex) { }
You have the following requirements:
✑ Log all exceptions by using the Log() method of the Logger class.
✑ Rethrow the original exception, including the entire exception stack.
You need to meet the requirements. Which code segment should you use?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | D |
Explanation
Question ID 17035 | You are creating a console application by using C#.
You need to access the assembly found in the file named car.dll.
Which code segment should you use?
|
Option A | Assembly.Load();
|
Option B | Assembly.GetExecutingAssembly();
|
Option C | This.GetType();
|
Option D | Assembly.LoadFile("car.dll");
|
Correct Answer | D |
Explanation Explanation: Assembly.LoadFile - Loads the contents of an assembly file on the specified path. http://msdn.microsoft.com/en-us/library/b61s44e8.aspx