ConstraintException serializable

ConstraintException serializable

System.Data ( class

This exception is thrown if you attempt an action that violates a constraint or if you try to apply a constraint to a DataTable that contains rows that violate it. For example, you might try to create more than one row with the same value in a unique column or a child record that references a nonexistent parent.

 public class  ConstraintException  : DataException {  // Public Constructors  public  ConstraintException  (  );      public  ConstraintException  (string   s   );  // Protected Constructors  protected  ConstraintException  (System.Runtime.Serialization.SerializationInfo   info   ,          System.Runtime.Serialization.StreamingContext   context   ); } 


System.Object figs/u2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/u2192.gif System.SystemException figs/u2192.gif DataException figs/u2192.gif ConstraintException

ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415 © 2008-2017.
If you may any questions please contact us: