''SqlNullValueException'' ''serializable'

SqlNullValueException serializable

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

This exception is thrown when you set the Value property of a SQL structure to null . To prevent throwing this exception, you should check the IsNull property of the structure before accessing the Value property.

public sealed class SqlNullValueException : SqlTypeException {
// Public Constructors
   public SqlNullValueException(  );  
   public SqlNullValueException( string message);  
   public SqlNullValueException(string message, Exception e);  


System.Object figs/U2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/U2192.gif System.SystemException figs/U2192.gif SqlTypeException figs/U2192.gif SqlNullValueException

    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace