DatabaseErrorCode Enumeration

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Represents the possible errors that can happen during database operation.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)

Syntax

'Declaration
Public Enumeration DatabaseErrorCode
'Usage
Dim instance As DatabaseErrorCode
public enum DatabaseErrorCode
public enum class DatabaseErrorCode

Members

Member name Description
Unknown An unknown error.
ParameterNotValid One more more parameters for the command execution are not valid.
OperationNotValid The operation being performed is currently not valid.
ConnectionError The target database connection failed.
Deadlock The operation being performed could not be completed because the shared resource was in used by another connection.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.Data Namespace