RuleAlreadyExistsException Constructor

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

Initializes a new instance of the RuleAlreadyExistsException class.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New RuleAlreadyExistsException()
public RuleAlreadyExistsException()
public:
RuleAlreadyExistsException()
public function RuleAlreadyExistsException()

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.

Permissions

See Also

Reference

RuleAlreadyExistsException Class

RuleAlreadyExistsException Members

RuleAlreadyExistsException Overload

Microsoft.CommerceServer.Catalog Namespace