Name
SqlTruncateException
Synopsis
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(stringmessage
); public SqlTruncateException(stringmessage
, Exceptione
); }
Hierarchy
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
SqlTypeException
→
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.