PromoCodeUsageValidationException Constructor

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

Initializes a new instance of the PromoCodeUsageValidationException 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 PromoCodeUsageValidationException()
public PromoCodeUsageValidationException()
public:
PromoCodeUsageValidationException()
public function PromoCodeUsageValidationException()

Remarks

The exception is thrown when PromoCodeUsageOption is Public and no public code is set, or if PromoCodeUsageOption is not Public and a public code is set.

Permissions

See Also

Reference

PromoCodeUsageValidationException Class

PromoCodeUsageValidationException Members

PromoCodeUsageValidationException Overload

Microsoft.CommerceServer.Marketing Namespace