LoginFailedException Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for RemObjects SDK for .NET
This page is generated from external data, please do not update

NamespacesInterfacesClassesEnumsImplements

Contents

Overview

The LoginFailedException class is a descendant of the ServerException class and represents login exceptions that occured during the logging of the DA client to the DA server.

You can use the LoginFailedException class inside the login method on the server side, where you can create and throw the exception and process it properly on the client side.


Location


Properties

FromServer     (declared in ServerException)

This property is set to true if the exception was received from the server and was re-thrown on the client tier. It's false if the exception was thrown on the same tier as the code processing it.



Prism:   property FromServer: Boolean read
C#:   Boolean FromServer { get; }
VB:   Property ReadOnly FromServer As Boolean


ServerStackTrace     (declared in ServerException)

The stack trace of the exception location obtained from the server, if available.



Prism:   property ServerStackTrace: String read write
C#:   String ServerStackTrace { get; set; }
VB:   Property ServerStackTrace As String


Instance Methods

constructor ()

Creates a new instance of the LoginFailedException class with the default exception message Login failed.


Oxygene:   constructor
C#:   constructor()
VB:   Sub New


constructor (String)

Creates a new instance of the LoginFailedException class with a specified exception message.


Oxygene:   constructor(message: String)
C#:   constructor(String message)
VB:   Sub New (message As String)


Parameters:

  • message:


constructor (String, Boolean)

Creates a new instance of the LoginFailedException class with a specified exception message and a boolean value that equals true if the exception was received from the server and was re-thrown on the client tier, or false if the exception was thrown on the same tier as the code processing it.


Oxygene:   constructor(message: String; fromServer: Boolean)
C#:   constructor(String message, Boolean fromServer)
VB:   Sub New (message As String, fromServer As Boolean)


Parameters:

  • message:
  • fromServer:


constructor (String, Exception)     (declared in ServerException)



Oxygene:   constructor(message: String; innerException: Exception)
C#:   constructor(String message, Exception innerException)
VB:   Sub New (message As String, innerException As Exception)


Parameters:

  • message:
  • innerException:


GetAttributeCount     (declared in ServerException)



Oxygene:   method GetAttributeCount: Int32
C#:   Int32 GetAttributeCount()
VB:   Function GetAttributeCount As Int32


GetAttributeName     (declared in ServerException)



Oxygene:   method GetAttributeName(index: Int32): String
C#:   String GetAttributeName(Int32 index)
VB:   Function GetAttributeName(index As Int32) As String


Parameters:

  • index:


GetAttributeValue     (declared in ServerException)



Oxygene:   method GetAttributeValue(index: Int32): String
C#:   String GetAttributeValue(Int32 index)
VB:   Function GetAttributeValue(index As Int32) As String


Parameters:

  • index:


See Also


Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Xcode, Delphi, Java and JavaScript

GlossaryArticlesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox