IdeaBlade DevForce 2010 Help Reference
LoginException Constructor(LoginExceptionType,String,String)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > LoginException Class > LoginException Constructor : LoginException Constructor(LoginExceptionType,String,String)



exceptionType
Type of login exception.
domain
Domain (aka, Namespace), typically from the login credential.
userName
Username, typically from the login credential.
Initializes a new instance of the LoginException class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal exceptionType As LoginExceptionType, _
   ByVal domain As String, _
   ByVal userName As String _
)
Visual Basic (Usage)Copy Code
Dim exceptionType As LoginExceptionType
Dim domain As String
Dim userName As String
 
Dim instance As New LoginException(exceptionType, domain, userName)
C# 
public LoginException( 
   LoginExceptionType exceptionType,
   string domain,
   string userName
)
C++/CLI 
public:
LoginException( 
   LoginExceptionType exceptionType,
   String^ domain,
   String^ userName
)

Parameters

exceptionType
Type of login exception.
domain
Domain (aka, Namespace), typically from the login credential.
userName
Username, typically from the login credential.

Remarks

The parameters are used to determine the exception message and its type.

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.