Class InvalidAccountException
Represents an exception thrown when an invalid account is encountered.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class InvalidAccountException : HTTPException
Constructors
InvalidAccountException(String, Exception, Nullable<AccountStatus>)
Initializes a new instance of the InvalidAccountException class.
Declaration
public InvalidAccountException(string message, Exception inner, AccountStatus? accountStatus = default(AccountStatus? ))
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
Exception | inner | The exception that we are passing up. |
System.Nullable<AccountStatus> | accountStatus | The status of the account associated with the exception AccountStatus. |
InvalidAccountException(String, Nullable<AccountStatus>)
Initializes a new instance of the InvalidAccountException class.
Declaration
public InvalidAccountException(string message, AccountStatus? accountStatus = default(AccountStatus? ))
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
System.Nullable<AccountStatus> | accountStatus | The status of the account associated with the exception AccountStatus. |
Properties
AccountStatus
Gets the status of the account AccountStatus.
Declaration
public AccountStatus? AccountStatus { get; }
Property Value
Type | Description |
---|---|
System.Nullable<AccountStatus> |
Type
Gets the error type.
Declaration
public override ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType | The error type. |