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 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.