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



Exception that should be thrown within the implementation of an IEntityLoginManager whenever a login attempt fails.

Syntax

Remarks

The ExceptionType indicates the cause of the login failure.

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.

Inheritance Hierarchy

System.Object
   System.Exception
      IdeaBlade.Core.IdeaBladeException
         IdeaBlade.EntityModel.EntityServerException
            IdeaBlade.EntityModel.LoginException

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.