Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class EntityServerException Inherits IdeaBlade.Core.IdeaBladeException Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityServerException |
C# | |
---|---|
[SerializableAttribute()] public class EntityServerException : IdeaBlade.Core.IdeaBladeException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class EntityServerException : public 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 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