.NET Framework Class Library  

DataException Class

Represents the exception that is thrown when errors are generated using ADO.NET components.

For a list of all members of this type, see DataException Members.

System.Object
   System.Exception
      System.SystemException
         System.Data.DataException
            Derived classes

[Visual Basic]
<Serializable>
Public Class DataException
   Inherits SystemException
[C#]
[Serializable]
public class DataException : SystemException
[C++]
[Serializable]
public __gc class DataException : public SystemException
[JScript]
public
   Serializable
class DataException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET

Assembly: System.Data (in System.Data.dll)

See Also

DataException Members | System.Data Namespace