''DataException'' ''serializable'

DataException serializable

System.Data (system.data.dll) class

This is the base class for all exceptions in this namespace. Provider-specific exception classes (such as System.Data.SqlClient.SqlException ), which represent errors that are raised when executing a command or accessing a connection, don't derive from this class.

public class DataException : SystemException {
// Public Constructors
   public DataException(  );  
   public DataException(string s);  
   public DataException(string s, Exception innerException);  
// Protected Constructors
   protected DataException(System.Runtime.Serialization.SerializationInfo info,
        System.Runtime.Serialization.StreamingContext context);  


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


Multiple types

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