Class LoginException
Исключение, возникающее при ошибке авторизации пользователя.
Inheritance
System.Object
System.Exception
LoginException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lers
Assembly: Lers.Server.System.dll
Syntax
[Serializable]
public class LoginException : Exception, ISerializable
Constructors
LoginException(ErrorCode)
Инициализирует новый экземпляр класса.
Declaration
public LoginException(ErrorCode errorCode)
Parameters
| Type | Name | Description |
|---|---|---|
| ErrorCode | errorCode | Код ошибки авторизации. |
LoginException(ErrorCode, String)
Инициализирует новый экземпляр класса.
Declaration
public LoginException(ErrorCode errorCode, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| ErrorCode | errorCode | Код ошибки авторизации. |
| System.String | message | Текст сообщения. |
Properties
ErrorCode
Код ошибки авторизации.
Declaration
public ErrorCode ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| ErrorCode |
Implements
System.Runtime.Serialization.ISerializable