DuplicateKeyException Properties

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The DuplicateKeyException type exposes the following members.

Properties

  Name Description
Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Message Gets a message that describes the current exception. (Inherited from Exception.)
Object Gets the object that caused the exception.
Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
StackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.)

Top

See Also

Reference

DuplicateKeyException Class

System.Data.Linq Namespace