ConstraintException Constructor (String, Exception)

ConstraintException Constructor (String, Exception)

 

Initializes a new instance of the ConstraintException class using the specified string and inner exception.

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

public ConstraintException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The string to display when the exception is thrown.

innerException
Type: System.Exception

Gets the Exception instance that caused the current exception.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft