Share via


InvalidCatalogOperationException Class

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

The exception that is thrown when an invalid operation is attempted.

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

Syntax

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

Remarks

All catalog exceptions, including the InvalidCatalogOperationException are derived from the CatalogException class.

Attempting to create a BaseCatalog when product is an InventorySku would be an example of an operation that could throw this exception.

Attempting to delete or rename a built in property would be another example of an operation that could throw this exception.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.InvalidCatalogOperationException
        Microsoft.CommerceServer.Catalog..::.BuiltInEntityException
        Microsoft.CommerceServer.Catalog..::.EntityScopeAlreadyExistsException
        Microsoft.CommerceServer.Catalog..::.EntityScopeDoesNotExistException
        Microsoft.CommerceServer.Catalog..::.InvalidDefinitionUseException
        Microsoft.CommerceServer.Catalog..::.InvalidPropertyTypeException
        Microsoft.CommerceServer.Catalog..::.InvalidRuleException
        Microsoft.CommerceServer.Catalog..::.InvalidSkuException
        Microsoft.CommerceServer.Catalog..::.LanguageRemoveException
        Microsoft.CommerceServer.Catalog..::.ObjectHasChangesException

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

InvalidCatalogOperationException Members

Microsoft.CommerceServer.Catalog Namespace