Class ConnectionError
Class ConnectionError. Describes any connection error.
Inheritance
System.Object
ConnectionError
Implements
Namespace: VpnSDK.DTO
Assembly: cs.temp.dll.dll
Syntax
public class ConnectionError : ISDKError
Constructors
ConnectionError(String, String, String, String, IConnectionConfiguration, Exception)
Initializes a new instance of the ConnectionError class.
Declaration
public ConnectionError(string hostname, string ip, string cityCode, string countryCode, IConnectionConfiguration connectionConfiguration, Exception systemException)
Parameters
Type | Name | Description |
---|---|---|
System.String | hostname | The VPN server hostname. |
System.String | ip | The VPN server IP address. |
System.String | cityCode | The VPN server city code. |
System.String | countryCode | The VPN server country code. |
IConnectionConfiguration | connectionConfiguration | The VPN protocol configuration. |
Exception | systemException | The exception that occurred. |
Properties
CityCode
Gets a city code of a server.
Declaration
public string CityCode { get; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionConfiguration
Gets a VPN protocol configuration.
Declaration
public IConnectionConfiguration ConnectionConfiguration { get; }
Property Value
Type | Description |
---|---|
IConnectionConfiguration |
CountryCode
Gets a country code of a server.
Declaration
public string CountryCode { get; }
Property Value
Type | Description |
---|---|
System.String |
Hostname
Gets a hostname of a server.
Declaration
public string Hostname { get; }
Property Value
Type | Description |
---|---|
System.String |
Ip
Gets an IP address of a server.
Declaration
public string Ip { get; }
Property Value
Type | Description |
---|---|
System.String |
SystemException
Gets the system
Declaration
public Exception SystemException { get; }
Property Value
Type | Description |
---|---|
Exception |