PromoCodeUsageValidationException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the PromoCodeUsageValidationException class.
Overload List
Name | Description | |
---|---|---|
PromoCodeUsageValidationException()()() | Initializes a new instance of the PromoCodeUsageValidationException class. | |
PromoCodeUsageValidationException(String) | Initializes a new instance of the PromoCodeUsageValidationException class with a specified error message. | |
PromoCodeUsageValidationException(SerializationInfo, StreamingContext) | Initializes a new instance of the PromoCodeUsageValidationException class with specified serialization and streaming context information. | |
PromoCodeUsageValidationException(String, Exception) | Initializes a new instance of the PromoCodeUsageValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
PromoCodeUsageValidationException(String, String, PromoCodeUsageOption, Boolean) | Initializes a new instance of the PromoCodeUsageValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
PromoCodeUsageValidationException(String, String, PromoCodeUsageOption, Boolean, Exception) | Initializes a new instance of the PromoCodeUsageValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Top
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.
See Also
Reference
PromoCodeUsageValidationException Class