Table of Contents

Class VpnAdapterFailedException

Namespace
VpnHood.Core.Client.Abstractions.Exceptions
Assembly
VpnHood.Core.Client.Abstractions.dll

The exception that is thrown when the VPN adapter stopped on its own (IVpnAdapter.Failed): its interface disabled or gone, its I/O broken, or its restart failed.

public class VpnAdapterFailedException : Exception, ISerializable
Inheritance
VpnAdapterFailedException
Implements
Inherited Members

Remarks

An adapter that fails to start fails the connection with its own error instead.

Constructors

VpnAdapterFailedException(string, Exception?)

The exception that is thrown when the VPN adapter stopped on its own (IVpnAdapter.Failed): its interface disabled or gone, its I/O broken, or its restart failed.

public VpnAdapterFailedException(string message, Exception? innerException = null)

Parameters

message string

The message.

innerException Exception

The exception that caused this one, or null.

Remarks

An adapter that fails to start fails the connection with its own error instead.