ADO.NET in a Nutshell

SqlTruncateException serializable

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

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 ); }

Hierarchy

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

Категории