DuplicateKeyException Constructor (Object)
Collapse the table of content
Expand the table of content

DuplicateKeyException Constructor (Object)

[ 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.

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

public DuplicateKeyException(
	Object duplicate


Type: System.Object
The duplicate key that caused the exception to be thrown.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft