EntityStateException Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the EntityStateException class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New EntityStateException()
public EntityStateException()
public:
EntityStateException()
public function EntityStateException()
Remarks
EntityStateException is thrown when the state of an entity prevents an operation from being performed. Examples include attempting to delete an entity that has already been deleted, restoring an entity that has not been deleted, or activating an entity that is already active.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.