Skip to content

DnsException Constructors ​

Definition ​

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

DnsException(string message, string queryName, string server, Exception innerException = null) ​

csharp
DnsException(string message, string queryName, string server, Exception innerException = null)

Initializes a new instance of the DnsException class.

Parameters ​

NameDescription
innerExceptionThe exception that caused the current exception, if one exists.
messageA message describing the DNS failure.
queryNameThe name being queried when the exception occurred.
serverThe name server associated with the failed operation.