DuplicateKeyException Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Initializes a new instance of the DuplicateKeyException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone DuplicateKeyException(Object) Initializes a new instance of the DuplicateKeyException class.
Public methodSupported by Silverlight for Windows Phone DuplicateKeyException(Object, String) Initializes a new instance of the DuplicateKeyException class by referencing the duplicate key and providing an error message.
Public methodSupported by Silverlight for Windows Phone DuplicateKeyException(Object, String, Exception) Initializes a new instance of the DuplicateKeyException class by referencing the duplicate key, providing an error message, and specifying the exception that caused this exception to be thrown.

Top