Share via


InvalidRuleException Constructor

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

Initializes a new instance of the InvalidRuleException class.

Overload List

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

Top

Remarks

The exception that is thrown when attempting to specify an invalid rule.

All catalog exceptions, including the InvalidRuleException are derived from the CatalogException class. (The InvalidCatalogOperationException is ultimately derived from the CatalogException class.) The InvalidRuleException is thrown because you attempting to specify an invalid rule.

See Also

Reference

InvalidRuleException Class

InvalidRuleException Members

Microsoft.CommerceServer.Catalog Namespace