Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ConstraintException Constructor

.NET Framework 1.1

Initializes a new instance of the ConstraintException class.

Overload List

Initializes a new instance of the ConstraintException class. This is the default constructor.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public ConstraintException();
[C++] public: ConstraintException();
[JScript] public function ConstraintException();

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public ConstraintException(string);
[C++] public: ConstraintException(String*);
[JScript] public function ConstraintException(String);

Initializes a new instance of the ConstraintException class using the specified serialization and stream context.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected ConstraintException(SerializationInfo, StreamingContext);
[C++] protected: ConstraintException(SerializationInfo*, StreamingContext);
[JScript] protected function ConstraintException(SerializationInfo, StreamingContext);

See Also

ConstraintException Class | ConstraintException Members | System.Data Namespace

Show:
© 2015 Microsoft