DatabaseIntegrityException Constructor (String)
Initializes a new instance of the DatabaseIntegrityException class with a specified error message.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New DatabaseIntegrityException(message)
public DatabaseIntegrityException(
string message
)
public:
DatabaseIntegrityException(
String^ message
)
public function DatabaseIntegrityException(
message : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatabaseIntegrityException Class
DatabaseIntegrityException Members