GSSP-NET · Question #328
You work as a Software Developer for ABC Inc. You create a Web service application named MyWebService using Visual Studio .NET 2005. You use the MyWebService to create a SOAP message. You are not…
The correct answer is C. public class AsynchronousOperationException : Exception { D. public class MyException : Exception. See the full explanation below for the reasoning.
Question
You work as a Software Developer for ABC Inc. You create a Web service application named MyWebService using Visual Studio .NET 2005. You use the MyWebService to create a SOAP message. You are not sure whether or not the SOAP message format is correct. Therefore, you GIAC GSSP-.NET Exam decide to use the AsynchronousOperationException class. This class is used to throw an exception when the format of a SOAP message is invalid. Which of the following code segments will you use to accomplish the task? Each correct answer represents a part of the solution. Choose all that apply.
Options
- Apublic class MyException : AsynchronousOperationException {
- Bpublic class AsynchronousOperationException : AsynchronousOperationException {
- Cpublic class AsynchronousOperationException : Exception {
- Dpublic class MyException : Exception
How the community answered
(39 responses)- A18% (7)
- B10% (4)
- C72% (28)
Community Discussion
No community discussion yet for this question.