DuplicateKeyException Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.
| Name | Description | |
|---|---|---|
|
DuplicateKeyException(Object) | Initializes a new instance of the DuplicateKeyException class. |
|
DuplicateKeyException(Object, String) | Initializes a new instance of the DuplicateKeyException class by referencing the duplicate key and providing an error message. |
|
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. |
Show: