Skip to content

DnsException Class ​

Definition ​

Represents a base exception for failures encountered while performing a DNS query.

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

Constructors ​

NameDescription
DnsException(string message, string queryName, string server, Exception innerException = null)Initializes a new instance of the DnsException class.

Properties ​

NameDescription
QueryNameGets the name that was being queried when the exception occurred.
ServerGets the name server associated with the failed operation.