VpnManagementErrorStatus Enum

Definition

Describes the known VPN management errors.

public enum class VpnManagementErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum VpnManagementErrorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnManagementErrorStatus
var value = Windows.Networking.Vpn.VpnManagementErrorStatus.ok
Public Enum VpnManagementErrorStatus
Inheritance
VpnManagementErrorStatus
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Fields

AccessDenied 5

Access is denied.

AlreadyConnected 8

The connection already exists.

AlreadyDisconnecting 7

The connection is in the process of being disconnected.

CannotFindProfile 6

A specified profile cannot be found.

CertificateFailure 12

Certificate authentication has failed.

DnsNotResolvable 17

A given hostname was not resolvable through the available DNS.

EapFailure 10

EAP authentication has failed.

GeneralAuthenticationFailure 9

Connection failed during authentication. No further details available.

InvalidIP 18

A given IP address was invalid.

InvalidXmlSyntax 2

Invalid XML syntax

NoConnection 14

No internet connection is available.

Ok 0

No error.

Other 1

Other

ProfileInvalidAppId 4

The app id is invalid.

ProfileNameTooLong 3

The profile name is too long.

ServerConfiguration 13

The server configuration is invalid.

ServerConnection 15

Can't connect to the server.

SmartCardFailure 11

Smart Card authentication has failed.

UserNamePassword 16

User name/password authentication has failed.

Remarks

Version history

Windows version SDK version Value added
1607 14393 AlreadyConnected
1607 14393 AlreadyDisconnecting
1607 14393 CannotFindProfile
1607 14393 CertificateFailure
1607 14393 DnsNotResolvable
1607 14393 EapFailure
1607 14393 GeneralAuthenticationFailure
1607 14393 InvalidIP
1607 14393 NoConnection
1607 14393 ServerConfiguration
1607 14393 ServerConnection
1607 14393 SmartCardFailure
1607 14393 UserNamePassword

Applies to