Share via


LanguageRemoveException Class

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

The exception that is thrown when attempting to remove a language which cannot be removed, such as the default language, reporting language, or the last language in the catalog.

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

Syntax

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

Remarks

All catalog exceptions, including the LanguageRemoveException are derived from the CatalogException class. (The InvalidCatalogOperationException is ultimately derived from the CatalogException class.) The LanguageRemoveException is thrown because you attempting to remove a language which cannot be removed.

Inheritance Hierarchy

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

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

LanguageRemoveException Members

Microsoft.CommerceServer.Catalog Namespace