PromoCodeUsageValidationException Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
The exception that is thrown when the setting of the public code is not consistent with the PromoCodeUsageOption of the PromoCodeDefinition.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PromoCodeUsageValidationException _
Inherits PropertyValidationException
'Usage
Dim instance As PromoCodeUsageValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class PromoCodeUsageValidationException : PropertyValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class PromoCodeUsageValidationException : public PropertyValidationException
public class PromoCodeUsageValidationException extends PropertyValidationException
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.
System..::.Object
System..::.Exception
Microsoft.CommerceServer..::.PropertyValidationException
Microsoft.CommerceServer.Marketing..::.PromoCodeUsageValidationException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.