DataValidationException Class
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.
DataValidationException used to indicate invalid data passed to the runtime and its components.
Namespace: Microsoft.Dynamics.Commerce.Runtime
Assembly: Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)
Syntax
'Declaration
<KnownTypeAttribute(GetType(ReadOnlyCollection(Of DataValidationFailure)))> _
Public Class DataValidationException _
Inherits CommerceRuntimeException
'Usage
Dim instance As DataValidationException
[KnownTypeAttribute(typeof(ReadOnlyCollection<DataValidationFailure>))]
public class DataValidationException : CommerceRuntimeException
[KnownTypeAttribute(typeof(ReadOnlyCollection<DataValidationFailure^>))]
public ref class DataValidationException : public CommerceRuntimeException
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Dynamics.Commerce.Runtime.CommerceRuntimeException
Microsoft.Dynamics.Commerce.Runtime.DataValidationException
Microsoft.Dynamics.Commerce.Runtime.CartValidationException
Microsoft.Dynamics.Commerce.Runtime.ItemOutOfStockException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.