DbException Constructor (String, Exception)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.
Namespace: System.Data.Common
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Protected Sub New ( _
message As String, _
innerException As Exception _
)
protected DbException(
string message,
Exception innerException
)
Parameters
- message
Type: System..::.String
The message that describes the error.
- innerException
Type: System..::.Exception
The exception that is the cause of the current exception.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone