Table of Contents

Class VpnServiceTimeoutException

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

The exception that is thrown when the VPN service does not start in time.

public class VpnServiceTimeoutException : TimeoutException, ISerializable
Inheritance
VpnServiceTimeoutException
Implements
Inherited Members

Constructors

VpnServiceTimeoutException(string, Exception?)

The exception that is thrown when the VPN service does not start in time.

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

Parameters

message string

The message.

innerException Exception

The exception that caused this one, or null.

Properties

TimeoutDuration

Gets how long the wait was, kept in Data in whole seconds; zero where it is not there.

public required TimeSpan TimeoutDuration { get; init; }

Property Value

TimeSpan