Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DuplicateKeyException Constructor (Object^)

 

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
)

Parameters

duplicate
Type: System::Object^

The duplicate key that caused the exception to be thrown.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft