Monday 14 January 2019

Microsoft 70-480 Questin Answer

You create an application that sends information to a web service by using the following code:
(Line numbers are included for reference only.)

When the web service returns a non-zero result code, you must raise an exception that contains the result code. You need to implement the code that generates the exception.
Which line of code should you insert at line 04?

A. CustomError .prototype = Error.prototype;
B. CustomError ["ErrorType"] = Error;
C. CustomError.customError = true;
D. Error-constructor = CustomError;

Answer: A

No comments:

Post a Comment

Note: only a member of this blog may post a comment.