Class DnsConfigurationException
Represents an exception thrown when there is a DNS configuration issue.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class DnsConfigurationException : VpnException
Constructors
DnsConfigurationException(String)
Initializes a new instance of the DnsConfigurationException class.
Declaration
public DnsConfigurationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
DnsConfigurationException(String, Exception)
Initializes a new instance of the DnsConfigurationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public DnsConfigurationException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
Exception | inner | The exception that is the cause of the current exception. |
Properties
Type
Gets the error type.
Declaration
public override ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType | The error type. |