IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : LoginException Class |
'Declaration
<SerializableAttribute()> Public Class LoginException Inherits EntityServerException Implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
'Usage
Dim instance As LoginException
[Serializable()] public class LoginException : EntityServerException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
If you subclass the LoginException and you have an n-tier application, your type should have a constructor accepting the message string. If your type has custom properties they will also be sent from the server as part of the Data property; you should include a constructor accepting the message string and a Dictionary<string, object> in order to reconstruct your custom LoginException successfully for the client.
System.Object
System.Exception
IdeaBlade.Core.IdeaBladeException
IdeaBlade.EntityModel.EntityServerException
IdeaBlade.EntityModel.LoginException
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