다음을 통해 공유


EntityHasChildrenException Class

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

The exception that is thrown when an operation fails because the entity contains children objects.

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

Syntax

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

Remarks

The operation could not be completed because the entity is a container object that is not empty (has child entities). For example, a customer that has child campaigns cannot be deleted. (However, you can delete a Campaign and all child Campaign Items are deleted).

Inheritance Hierarchy

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

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

EntityHasChildrenException Members

Microsoft.CommerceServer.Marketing Namespace