Suppose You are creating an ASP.NET application named CompanyWebApp. To CompanyWebApp, you
add a Web reference to an XML Web service named User Service. User Service consists of a
Web method named RetrieveUserInfo. This Web method takes a userID as input and returns a
DataSet object containing user information. If the userID is not between the values 1 and 1000, a
System Argument Exception is thrown. In CompanyWebApp, you write a try/catch block to
capture any exceptions that are thrown by User Service. You invoke RetrieveUserInfo and pass
1001 as the user ID.
Which type of exception will be caught?
A. System.ApplicationException
B. System.ArgumentException
C. System.Web.Service.Protocols.SoapException
D. System.Web.Service.Protocols.SoapHeaderException

Submitted by: Administrator
C. System.Web.Service.Protocols.SoapException
Submitted by: Administrator

Read Online MCSD.NET - 70-320 Exam Job Interview Questions And Answers