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: