Share via


RuleAlreadyExistsException Constructor

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Initializes a new instance of the RuleAlreadyExistsException class.

Overload List

  Name Description
ms988319.pubmethod(en-US,CS.70).gif RuleAlreadyExistsException()()() Initializes a new instance of the RuleAlreadyExistsException class.
ms988319.pubmethod(en-US,CS.70).gif RuleAlreadyExistsException(String) Initializes a new instance of the RuleAlreadyExistsException class with the specified error message.
ms988319.protmethod(en-US,CS.70).gif RuleAlreadyExistsException(SerializationInfo, StreamingContext) Initializes a new instance of the RuleAlreadyExistsException class with the specified serialization and streaming context information.
ms988319.pubmethod(en-US,CS.70).gif RuleAlreadyExistsException(String, Exception) Initializes a new instance of the RuleAlreadyExistsException class with the specified error message and inner exception that caused the current exception.
ms988319.pubmethod(en-US,CS.70).gif RuleAlreadyExistsException(String, String, String) Initializes a new instance of the RuleAlreadyExistsException class with the specified error message and parameters.
ms988319.pubmethod(en-US,CS.70).gif RuleAlreadyExistsException(String, String, String, Exception) Initializes a new instance of the RuleAlreadyExistsException class with the specified error message, parameters, and inner exception.

Top

Remarks

All catalog exceptions, including the RuleAlreadyExistsException are derived from the CatalogException class. (The EntityAlreadyExistsException ultimately is derived from the CatalogException class.) The RuleAlreadyExistsException is thrown because you are attempting to perform an invalid operation. You are attempting to add or create a pricing rule or a virtual catalog rule that already exists.

See Also

Reference

RuleAlreadyExistsException Class

RuleAlreadyExistsException Members

Microsoft.CommerceServer.Catalog Namespace