Udostępnij za pośrednictwem


CatalogRemoveException Class

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

The exception that is thrown when an attempt to remove an association between two objects fails.

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

Syntax

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

Remarks

This exception is thrown when an attempt to remove an association between two objects fails.

The CatalogRemoveException is usually caused by an attempt to remove an item which was inherited from another catalog. This exception is thrown when attempting to remove a child of a category in a virtual catalog which was inherited from a base catalog. This exception also applies to related products and categories.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.CatalogRemoveException

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

CatalogRemoveException Members

Microsoft.CommerceServer.Catalog Namespace