Name

DuplicateNameException

Synopsis

This exception occurs when you attempt to add a database object with a duplicate name to a DataSet -related object.

public class DuplicateNameException : DataException {

// Public Constructors

   public DuplicateNameException( );  

   public DuplicateNameException(string s);  

// Protected Constructors

   protected DuplicateNameException(System.Runtime.Serialization.SerializationInfo info,

        System.Runtime.Serialization.StreamingContext context);

}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException DataException DuplicateNameException

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.