Udostępnij za pośrednictwem


VpnManagementErrorStatus Enum

Definition

Describes the known VPN management errors.

public enum class VpnManagementErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class 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 requirements

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

Fields

Name Value Description
Ok 0

No error.

Other 1

Other

InvalidXmlSyntax 2

Invalid XML syntax

ProfileNameTooLong 3

The profile name is too long.

ProfileInvalidAppId 4

The app id is invalid.

AccessDenied 5

Access is denied.

CannotFindProfile 6

A specified profile cannot be found.

AlreadyDisconnecting 7

The connection is in the process of being disconnected.

AlreadyConnected 8

The connection already exists.

GeneralAuthenticationFailure 9

Connection failed during authentication. No further details available.

EapFailure 10

EAP authentication has failed.

SmartCardFailure 11

Smart Card authentication has failed.

CertificateFailure 12

Certificate authentication has failed.

ServerConfiguration 13

The server configuration is invalid.

NoConnection 14

No internet connection is available.

ServerConnection 15

Can't connect to the server.

UserNamePassword 16

User name/password authentication has failed.

DnsNotResolvable 17

A given hostname was not resolvable through the available DNS.

InvalidIP 18

A given IP address was invalid.

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