Class ServerIpVersionUnsupportedException
- Namespace
- VpnHood.Core.Client.Abstractions.Exceptions
- Assembly
- VpnHood.Core.Client.Abstractions.dll
The exception that is thrown when a session ends because the device's network has no address of the server's IP version, only of the other one, so the session can no longer reach its server.
public class ServerIpVersionUnsupportedException : Exception, ISerializable
- Inheritance
-
ServerIpVersionUnsupportedException
- Implements
- Inherited Members
Remarks
A new connect finds the server again with an address the network can reach, which a VPN service that can connect by itself makes at once.
Constructors
ServerIpVersionUnsupportedException(string, Exception?)
The exception that is thrown when a session ends because the device's network has no address of the server's IP version, only of the other one, so the session can no longer reach its server.
public ServerIpVersionUnsupportedException(string message, Exception? innerException = null)
Parameters
messagestringThe message that describes the error.
innerExceptionExceptionThe exception that is the cause of this exception, or null.
Remarks
A new connect finds the server again with an address the network can reach, which a VPN service that can connect by itself makes at once.