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: