Partager via


DuplicateEntityIdException Constructor

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

Initializes a new instance of the DuplicateEntityIdException class.

Overload List

  Name Description
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException()()() Initializes a new instance of the DuplicateEntityIdException class.
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException(String) Initializes a new instance of the DuplicateEntityIdException class with a specified error message.
ms989376.protmethod(en-US,CS.70).gif DuplicateEntityIdException(SerializationInfo, StreamingContext) Initializes a new instance of the DuplicateEntityIdException class with serialized data and streaming context information.
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException(String, Exception) Initializes a new instance of the DuplicateEntityIdException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException(String, String, Int32) Initializes a new instance of the DuplicateEntityIdException class with the specified error message, type of entity that caused it, and the entity Id that was duplicated.
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException(String, String, String) Initializes a new instance of the DuplicateEntityIdException class with the specified error message, type of entity that caused it, and the entity Id that was duplicated.
ms989376.pubmethod(en-US,CS.70).gif DuplicateEntityIdException(String, String, String, Exception) Initializes a new instance of the DuplicateEntityIdException class with the specified error message, type of entity that caused it, and the entity Id that was duplicated.

Top

Remarks

DuplicateEntityIdException is thrown when an attempt is made to insert an entity with a specific Id into the campaigns database and it is detected that an entity with that Id already exists in the database. Staging may fail with this exception if the campaigns database is modified externally during the staging process. Running staging again after inspecting and/ or cleaning the destination database should resolve the issue.

See Also

Reference

DuplicateEntityIdException Class

DuplicateEntityIdException Members

Microsoft.CommerceServer.Marketing Namespace