Share via


DuplicateKeyValueException Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the DuplicateKeyValueException class.

Overload List

  Name Description
ms870883.pubmethod(en-US,CS.70).gif DuplicateKeyValueException()()() Initializes a new instance of the DuplicateKeyValueException class.
ms870883.pubmethod(en-US,CS.70).gif DuplicateKeyValueException(String) Initializes a new instance of the DuplicateKeyValueException class with a specified error message.
ms870883.protmethod(en-US,CS.70).gif DuplicateKeyValueException(SerializationInfo, StreamingContext) Initializes a new instance of the DuplicateKeyValueException class with the specified serialization information and streaming context.
ms870883.pubmethod(en-US,CS.70).gif DuplicateKeyValueException(String, Exception) Initializes a new instance of the DuplicateKeyValueException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ms870883.pubmethod(en-US,CS.70).gif DuplicateKeyValueException(String, String, String, String) Initializes a new instance of the DuplicateKeyValueException with the specified error message and profile definition name.
ms870883.pubmethod(en-US,CS.70).gif DuplicateKeyValueException(String, String, String, String, Exception) Initializes a new instance of the DuplicateKeyValueException with the specified error message, profile definition name, and the inner exception that caused it.

Top

Remarks

The exception thrown when an attempt is made to create or update a profile with a key value that already exists.

See Also

Reference

DuplicateKeyValueException Class

DuplicateKeyValueException Members

Microsoft.CommerceServer.Profiles Namespace