Share via


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
Aa134958.pubmethod(en-US,CS.70).gif PromoCodeUsageValidationException Overloaded. Initializes a new instance of the PromoCodeUsageValidationException class.

Top

Methods

  Name Description
Aa134958.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa134958.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa134958.pubmethod(en-US,CS.70).gif GetBaseException (Inherited from Exception.)
Aa134958.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa134958.pubmethod(en-US,CS.70).gif GetObjectData Populates a SerializationInfo with data needed to serialize the PromoCodeGeneratorException. (Overrides PropertyValidationException..::.GetObjectData(SerializationInfo, StreamingContext).)
Aa134958.pubmethod(en-US,CS.70).gif GetType (Inherited from Exception.)
Aa134958.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa134958.pubmethod(en-US,CS.70).gif ToString (Inherited from Exception.)

Top

Properties

  Name Description
Aa134958.pubproperty(en-US,CS.70).gif Data (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif HelpLink (Inherited from Exception.)
Aa134958.protproperty(en-US,CS.70).gif HResult (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif InnerException (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif IsPublicCodeSet Gets or sets a value indicating whether the public code field of the PromoCodeDefinition is set.
Aa134958.pubproperty(en-US,CS.70).gif Message (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif PropertyName Gets or sets the name of the property that caused the validation exception. (Inherited from PropertyValidationException.)
Aa134958.pubproperty(en-US,CS.70).gif Source (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif StackTrace (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif TargetSite (Inherited from Exception.)
Aa134958.pubproperty(en-US,CS.70).gif UsageOption Gets or sets a value indicating whether the usage option of the PromoCodeDefinition is set.

Top

See Also

Reference

PromoCodeUsageValidationException Class

Microsoft.CommerceServer.Marketing Namespace