DataException Constructor (String, Exception)
Initializes a new instance of the DataException class with the specified string and inner exception.
Assembly: System.Data (in System.Data.dll)
You can create a new exception that catches an earlier exception. The code that handles the second exception can make use of the additional information from the earlier exception, also called an inner exception, to examine the cause of the initial error.
Available since 1.1
Windows Phone Silverlight
Available since 7.1