DbException Constructor (String, Exception)
Collapse the table of content
Expand the table of content

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)

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft