Share via


DatabaseIntegrityException Constructor

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

Initializes a new instance of the DatabaseIntegrityException class.

Overload List

  Name Description
ms870399.pubmethod(en-US,CS.70).gif DatabaseIntegrityException()()() Initializes a new instance of the DatabaseIntegrityException class.
ms870399.pubmethod(en-US,CS.70).gif DatabaseIntegrityException(String) Initializes a new instance of the DatabaseIntegrityException class with a specified error message.
ms870399.protmethod(en-US,CS.70).gif DatabaseIntegrityException(SerializationInfo, StreamingContext) Initializes a new instance of the DatabaseIntegrityException class with the specified serialization and streaming context information.
ms870399.pubmethod(en-US,CS.70).gif DatabaseIntegrityException(String, Exception) Initializes a new instance of the DatabaseIntegrityException class with a specified error message and inner exception that is the cause of this exception.

Top

Remarks

DatabaseIntegrityException is thrown if, during the course of any operation affecting database records, it is found that the database has been externally modified in a way that is not compatible with the product. These scenarios include modification of database constraints, deletion of internally managed records, or unrecognized enumeration values in data columns.

See Also

Reference

DatabaseIntegrityException Class

DatabaseIntegrityException Members

Microsoft.CommerceServer Namespace