This exception is thrown if you try to set a value that doesn’t fit in a structure (e.g., a string that is longer than the maximum character length allowed for SqlString).

public sealed class SqlTruncateException : SqlTypeException {

// Public Constructors

   public SqlTruncateException( );  

   public SqlTruncateException(string message);  

   public SqlTruncateException(string message, Exception e);  



System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException SqlTypeException 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.