Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DuplicateNameException Constructor

.NET Framework 1.1

Initializes a new instance of the DuplicateNameException class.

Overload List

Initializes a new instance of the DuplicateNameException class.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public DuplicateNameException();
[C++] public: DuplicateNameException();
[JScript] public function DuplicateNameException();

Initializes a new instance of the DuplicateNameException class with the specified string.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public DuplicateNameException(string);
[C++] public: DuplicateNameException(String*);
[JScript] public function DuplicateNameException(String);

Initializes a new instance of the DuplicateNameException class with serialization information.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected DuplicateNameException(SerializationInfo, StreamingContext);
[C++] protected: DuplicateNameException(SerializationInfo*, StreamingContext);
[JScript] protected function DuplicateNameException(SerializationInfo, StreamingContext);

See Also

DuplicateNameException Class | DuplicateNameException Members | System.Data Namespace

Show:
© 2015 Microsoft