PromoCodeUsageValidationException Members
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.
The PromoCodeUsageValidationException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PromoCodeUsageValidationException | Overloaded. Initializes a new instance of the PromoCodeUsageValidationException class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo with data needed to serialize the PromoCodeGeneratorException. (Overrides PropertyValidationException..::.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
IsPublicCodeSet | Gets or sets a value indicating whether the public code field of the PromoCodeDefinition is set. | |
Message | (Inherited from Exception.) | |
PropertyName | Gets or sets the name of the property that caused the validation exception. (Inherited from PropertyValidationException.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) | |
UsageOption | Gets or sets a value indicating whether the usage option of the PromoCodeDefinition is set. |
Top