다음을 통해 공유


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
ms989412.pubmethod(en-US,CS.70).gif PromoCodeUsageValidationException()()() Initializes a new instance of the PromoCodeUsageValidationException class.
ms989412.pubmethod(en-US,CS.70).gif PromoCodeUsageValidationException(String) Initializes a new instance of the PromoCodeUsageValidationException class with a specified error message.
ms989412.protmethod(en-US,CS.70).gif PromoCodeUsageValidationException(SerializationInfo, StreamingContext) Initializes a new instance of the PromoCodeUsageValidationException class with specified serialization and streaming context information.
ms989412.pubmethod(en-US,CS.70).gif 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.
ms989412.pubmethod(en-US,CS.70).gif 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.
ms989412.pubmethod(en-US,CS.70).gif 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

PromoCodeUsageValidationException Members

Microsoft.CommerceServer.Marketing Namespace