Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ConstraintException Class
Collapse the table of content
Expand the table of content

ConstraintException Class

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.


[Visual Basic]
Public Class ConstraintException
   Inherits DataException
public class ConstraintException : DataException
public __gc class ConstraintException : public DataException
class ConstraintException extends DataException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. 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

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

See Also

ConstraintException Members | System.Data Namespace

© 2015 Microsoft