DiscountPrioritizationException Constructor

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

Initializes a new instance of the DiscountPrioritizationException class.

Overload List

  Name Description
ms989368.pubmethod(en-US,CS.70).gif DiscountPrioritizationException()()() Initializes a new instance of the DiscountPrioritizationException class.
ms989368.pubmethod(en-US,CS.70).gif DiscountPrioritizationException(String) Initializes a new instance of the DiscountPrioritizationException class with a specified error message.
ms989368.protmethod(en-US,CS.70).gif DiscountPrioritizationException(SerializationInfo, StreamingContext) Initializes a new instance of the DiscountPrioritizationException class with the specified serialization data and streaming context information.
ms989368.pubmethod(en-US,CS.70).gif DiscountPrioritizationException(String, Exception) Initializes a new instance of the DiscountPrioritizationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ms989368.pubmethod(en-US,CS.70).gif DiscountPrioritizationException(String, String, Int32, Int32) Initializes a new instance of the DiscountPrioritizationException class with a specified error message and a reference to the inner exception that is the cause of this exception. The maximum value and the actual priority value of this discount are provided.
ms989368.pubmethod(en-US,CS.70).gif DiscountPrioritizationException(String, String, Int32, Int32, Exception) Initializes a new instance of the DiscountPrioritizationException class with a specified error message and a reference to the inner exception that is the cause of this exception. The property name, maximum value, and the actual priority value of this discount are provided.

Top

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.

See Also

Reference

DiscountPrioritizationException Class

DiscountPrioritizationException Members

Microsoft.CommerceServer.Marketing Namespace