Represents the exception that is thrown when attempting an action that violates a constraint.
For a list of all members of this type, see ConstraintException Members.
System.Object
System.Exception
System.SystemException
System.Data.DataException
System.Data.ConstraintException
[Visual Basic] <Serializable> Public Class ConstraintException Inherits DataException [C#] [Serializable] public class ConstraintException : DataException [C++] [Serializable] public __gc class ConstraintException : public DataException [JScript] public Serializable class ConstraintException extends DataException
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Namespace: System.Data
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET
Assembly: System.Data (in System.Data.dll)