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:
© 2014 Microsoft