StrongTypingException serializable

StrongTypingException serializable

System.Data (system.data.dll) class

This exception is thrown when you try to access a null value in a column of a strongly typed DataSet . This exception isn't generated by the .NET runtime. Instead, the strongly typed DataSet class catches an System.InvalidCastException and then throws a StrongTypingException to notify your code of the problem. This code takes place in the get property accessor for a strongly typed DataRow .

 public class  StrongTypingException  : DataException {  // Public Constructors  public  StrongTypingException  (  );      public  StrongTypingException  (string   s   , Exception   innerException   );  // Protected Constructors  protected  StrongTypingException  (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 StrongTypingException



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