DuplicatePromoCodeException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the DuplicatePromoCodeException class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New DuplicatePromoCodeException()
public DuplicatePromoCodeException()
public:
DuplicatePromoCodeException()
public function DuplicatePromoCodeException()
Remarks
The value of a PublicPromoCode, within the PromoCodeDefinition class, must be unique. PublicPromoCode only has meaning on Public promotion codes.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DuplicatePromoCodeException Class
DuplicatePromoCodeException Members