You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application connects to a Microsoft SQL Server 2005 database.
You plan to implement the exception-handling strategy for the application.
You need to find the SQL Server 2005 exceptions that have a severity level value greater than 19.
Which property should you use?
A.
System.Exception.Message
B.
System.Exception.InnerException
C.
System.Data.SqlClient.SqlException.Errors.Class
D.
System.Data.SqlClient.SqlException.InnerException