Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DuplicateNameException Class

Represents the exception that is thrown when a duplicate database object name is encountered during an add operation in a DataSet-related object.

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

System.Object
   System.Exception
      System.SystemException
         System.Data.DataException
            System.Data.DuplicateNameException

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

Thread Safety

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

Remarks

Examples of duplicate database object names that may be encountered are tables, columns, relations, or constraints.

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

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

See Also

DuplicateNameException Members | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.