DbException Constructor (String^, Exception^)
.NET Framework (current version)
Initializes a new instance of the DbException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Assembly: System.Data (in System.Data.dll)
Parameters
- message
-
Type:
System::String^
The error message string.
- innerException
-
Type:
System::Exception^
The inner exception reference.
The DbException class is an abstract class used as the base class for provider-specific exception class implementations.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Available since 10
.NET Framework
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Show: