Jaa


EntityScopeAlreadyExistsException Constructor

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

Initializes a new instance of the EntityScopeAlreadyExistsException class.

Overload List

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

Top

Remarks

The exception that is thrown when attempting to add or create a scope that already exists.

All catalog exceptions, including the EntityScopeAlreadyExistsException are derived from the CatalogException class. (The InvalidCatalogOperationException is derived from the CatalogException class.) The EntityScopeAlreadyExistsException is thrown because you are attempting to perform an invalid operation. You are attempting to add or create an entity scope with the EntityTypeProperty and EntityNameProperty that already exists.

See Also

Reference

EntityScopeAlreadyExistsException Class

EntityScopeAlreadyExistsException Members

Microsoft.CommerceServer.Catalog Namespace