ADO.NET in a Nutshell

SqlTypeException serializable

System.Data.SqlTypes (system.data.dll) class

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 figs/u2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/u2192.gif System.SystemException figs/u2192.gif SqlTypeException

Subclasses

SqlNullValueException , SqlTruncateException

Категории