IdeaBlade DevForce 2010 Help Reference
EntityServerException Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityServerException Class



Exception thrown by the EntityServer for persistence failures.

Syntax

Remarks

A EntityServerException, or one of its sub-types, can be thrown for a number of error conditions detected while the EntityManager communicates with the IdeaBlade.EntityModel.Server.EntityServer. It can be raised during Connect and Login processing, while fetching data, or saving data via SaveChanges.

The EntityServerException is first raised via the EntityManager.EntityServerError event. If a handler is in place for this event you can choose to handle the error and set the Handled property value to true. If a handler is not found or the Handled property is not set, the EntityServerException is thrown back to the calling code.

The FailureType of the exception indicates the general type of failure condition. The OperationType indicates the type of persistence operation requested when the error occurred. The System.Exception.InnerException will have additional information on the error.

Inheritance Hierarchy

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.