다음을 통해 공유


InvalidRuleException Class

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

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

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class InvalidRuleException _
    Inherits InvalidCatalogOperationException
'Usage
Dim instance As InvalidRuleException
[SerializableAttribute]
public class InvalidRuleException : InvalidCatalogOperationException
[SerializableAttribute]
public ref class InvalidRuleException : public InvalidCatalogOperationException
public class InvalidRuleException extends InvalidCatalogOperationException

Remarks

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.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.InvalidCatalogOperationException
        Microsoft.CommerceServer.Catalog..::.InvalidRuleException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

InvalidRuleException Members

Microsoft.CommerceServer.Catalog Namespace