Name

SqlTypeException

Synopsis

This is the base class for exceptions with the SQL Server .NET data structures. Both SqlTruncateException and SqlNullValueException derive from this class.

public class SqlTypeException : SystemException {

// Public Constructors

   public SqlTypeException( );  

   public SqlTypeException(string message);  

   public SqlTypeException(string message, Exception e);  

// Protected Constructors

   protected SqlTypeException(System.Runtime.Serialization.SerializationInfo si,

        System.Runtime.Serialization.StreamingContext sc);

}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException SqlTypeException

Subclasses

SqlNullValueException, SqlTruncateException

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.