IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityServerException Class |
'Declaration
<SerializableAttribute()> Public Class EntityServerException Inherits IdeaBlade.Core.IdeaBladeException Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
'Usage
Dim instance As EntityServerException
[Serializable()] public class EntityServerException : IdeaBlade.Core.IdeaBladeException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
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.
System.Object
System.Exception
IdeaBlade.Core.IdeaBladeException
IdeaBlade.EntityModel.EntityServerException
IdeaBlade.EntityModel.EntityManagerSaveException
IdeaBlade.EntityModel.EntityServerConnectionException
IdeaBlade.EntityModel.LoginException
IdeaBlade.EntityModel.PersistenceSecurityException
IdeaBlade.EntityModel.QueryInversionServerException
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2