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