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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.