Share via


DiscountPrioritizationException Class

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

The exception that is thrown when a failure occurs during prioritization of a Discount object.

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

Syntax

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

Remarks

DiscountPrioritizationException is thrown if an invalid priority is given as a parameter to the individual or bulk discount prioritization methods. Priority values for individual discount prioritization cannot be greater than the maximum priority in the system plus one (max(priority) + 1). Priority values for bulk prioritization should not be changed by more than twice the bulk prioritization dataset size.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.PropertyValidationException
      Microsoft.CommerceServer.Marketing..::.DiscountPrioritizationException

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

DiscountPrioritizationException Members

Microsoft.CommerceServer.Marketing Namespace