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 | |
---|---|---|
DiscountPrioritizationException()()() | Initializes a new instance of the DiscountPrioritizationException class. | |
DiscountPrioritizationException(String) | Initializes a new instance of the DiscountPrioritizationException class with a specified error message. | |
DiscountPrioritizationException(SerializationInfo, StreamingContext) | Initializes a new instance of the DiscountPrioritizationException class with the specified serialization data and streaming context information. | |
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. | |
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. | |
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