DuplicatePromoCodeException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the DuplicatePromoCodeException class.
Overload List
Name | Description | |
---|---|---|
DuplicatePromoCodeException()()() | Initializes a new instance of the DuplicatePromoCodeException class. | |
DuplicatePromoCodeException(String) | Initializes a new instance of the DuplicatePromoCodeException class with a specified error message. | |
DuplicatePromoCodeException(SerializationInfo, StreamingContext) | Initializes a new instance of the DuplicatePromoCodeException class with serialized data and streaming context information. | |
DuplicatePromoCodeException(String, Exception) | Initializes a new instance of the DuplicatePromoCodeException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
DuplicatePromoCodeException(String, String) | Initializes a new instance of the DuplicatePromoCodeException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
DuplicatePromoCodeException(String, String, Exception) | Initializes a new instance of the DuplicatePromoCodeException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Top
Remarks
The value of a PublicPromoCode, within the PromoCodeDefinition class, must be unique. PublicPromoCode only has meaning on Public promotion codes.
See Also
Reference
DuplicatePromoCodeException Class