Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbException Constructor (String^)

 
Use BaseTrue

Initializes a new instance of the DbException class with the specified error message.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected:
DbException(
	String^ message
)

Parameters

message
Type: System::String^

The message to display for this exception.

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
Return to top
Show:
© 2017 Microsoft