다음을 통해 공유


EntityHasChildrenException Constructor

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

Initializes a new instance of the EntityHasChildrenException class.

Overload List

  Name Description
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException()()() Initializes a new instance of the EntityHasChildrenException class.
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException(String) Initializes a new instance of the EntityHasChildrenException class with a specified error message.
ms989380.protmethod(en-US,CS.70).gif EntityHasChildrenException(SerializationInfo, StreamingContext) Initializes a new instance of the EntityHasChildrenException class with serialized data and streaming context information.
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException(String, Exception) Initializes a new instance of the EntityHasChildrenException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException(String, String, Int32) Initializes a new instance of the EntityHasChildrenException with the specified error message, and the type and Id of the entity that caused it.
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException(String, String, String) Initializes a new instance of the EntityHasChildrenException with the specified error message, and the type and Id of the entity that caused it.
ms989380.pubmethod(en-US,CS.70).gif EntityHasChildrenException(String, String, String, Exception) Initializes a new instance of the EntityHasChildrenException with the specified error message, and the type and Id of the entity that caused it.

Top

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).

See Also

Reference

EntityHasChildrenException Class

EntityHasChildrenException Members

Microsoft.CommerceServer.Marketing Namespace