다음을 통해 공유


EntityReferencedException Constructor

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

Initializes a new instance of the EntityReferencedException class.

Overload List

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

Top

Remarks

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

See Also

Reference

EntityReferencedException Class

EntityReferencedException Members

Microsoft.CommerceServer.Marketing Namespace