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
- 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
PromoCodeUsageValidationException Class
PromoCodeUsageValidationException Members