Jaa


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
ms989379.pubmethod(en-US,CS.70).gif DuplicatePromoCodeException()()() Initializes a new instance of the DuplicatePromoCodeException class.
ms989379.pubmethod(en-US,CS.70).gif DuplicatePromoCodeException(String) Initializes a new instance of the DuplicatePromoCodeException class with a specified error message.
ms989379.protmethod(en-US,CS.70).gif DuplicatePromoCodeException(SerializationInfo, StreamingContext) Initializes a new instance of the DuplicatePromoCodeException class with serialized data and streaming context information.
ms989379.pubmethod(en-US,CS.70).gif 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.
ms989379.pubmethod(en-US,CS.70).gif 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.
ms989379.pubmethod(en-US,CS.70).gif 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

DuplicatePromoCodeException Members

Microsoft.CommerceServer.Marketing Namespace