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^, String^, Exception^)
.NET Framework (current version)
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.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
public:
DuplicateKeyException(
Object^ duplicate,
String^ message,
Exception^ innerException
)
Parameters
- duplicate
-
Type:
System::Object^
The duplicate key that caused the exception to be thrown.
- message
-
Type:
System::String^
The message to appear when the exception is thrown.
- innerException
-
Type:
System::Exception^
The previous exception that caused the DuplicateKeyException exception to be thrown.
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: