ConstraintException Constructor (String, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Sub New (
	message As String,
	innerException As Exception
)

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: