다음을 통해 공유


EntityReferencedException Class

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

The exception that is thrown when a delete operation fails because some other entities depend on the current entity.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class EntityReferencedException _
    Inherits Exception _
    Implements ISerializable
'Usage
Dim instance As EntityReferencedException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class EntityReferencedException : Exception, ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class EntityReferencedException : public Exception, 
    ISerializable
public class EntityReferencedException extends Exception implements ISerializable

Remarks

EntityReferencedException is thrown when an attempt is made to delete an entity which another current entity is dependent upon.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Marketing..::.EntityReferencedException

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

EntityReferencedException Members

Microsoft.CommerceServer.Marketing Namespace