| 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.
The parameters are used to determine the exception message and its type.
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