InvalidConstraintException serializable

InvalidConstraintException serializable

System.Data (system.data.dll) class

This exception is thrown when incorrectly attempting to create or access a DataRelation object. For example, if you attempt to remove a DataRelation when a corresponding ForeignKeyConstraint exists on a table, or if you try to specify DataRelation parent-and-child columns with incompatible data types or in tables from different DataSet objects, this exception is thrown.

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

Hierarchy

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



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net