VpnErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values that correspond to the Android VpnManager.ERROR_CODE_NETWORK_* constants.
public enum VpnErrorCode
type VpnErrorCode =
- Inheritance
-
VpnErrorCode
Fields
| Name | Value | Description |
|---|---|---|
| UnknownHost | 0 | An ExtraErrorCode for CategoryEventNetworkError to indicate that the network host isn't known. This happens when domain name resolution could not resolve an IP address for the specified host. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NetworkProtocolTimeout | 1 | An ExtraErrorCode for CategoryEventNetworkError indicating a timeout. For Ikev2 VPNs, this happens typically after a retransmission failure. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NetworkLost | 2 | An ExtraErrorCode for CategoryEventNetworkError indicating that network connectivity was lost. The most common reason for this error is that the underlying network was disconnected, see IkeNetworkLostException. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| NetworkIO | 3 | An ExtraErrorCode for CategoryEventNetworkError indicating an input/output error. This code happens when reading or writing to sockets on the underlying networks was terminated by an I/O error. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |