Condividi tramite


MaximumValueValidationException Class

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

The exception that is thrown when a numeric property is larger than the maximum allowed value.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class MaximumValueValidationException _
    Inherits PropertyValidationException
'Usage
Dim instance As MaximumValueValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class MaximumValueValidationException : PropertyValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class MaximumValueValidationException : public PropertyValidationException
public class MaximumValueValidationException extends PropertyValidationException

Remarks

MaximumValueValidationException is thrown when an attempt is made to save an entity and at least one numeric property of that entity exceeds the maximum allowed value.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.PropertyValidationException
      Microsoft.CommerceServer..::.MaximumValueValidationException

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.

See Also

Reference

MaximumValueValidationException Members

Microsoft.CommerceServer Namespace