DataException Constructor (String)
Collapse the table of content
Expand the table of content

DataException Constructor (String)


Initializes a new instance of the DataException class with the specified string.

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

public DataException(
	string s


Type: System.String

The string to display when the exception is thrown.

.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 7.1
Return to top
© 2016 Microsoft