Domain Detective

API Reference

Class

DnsQueryException

Namespace DnsClientX
Assembly DnsClientX
Base Exception
Implements
ISerializable
Modifiers sealed

Wraps network/parse/timeout exceptions during DNS querying with a normalized error code.

Inheritance

  • Exception
  • DnsQueryException

Constructors

public DnsQueryException(DnsQueryErrorCode errorCode, String message, Exception inner = null, DnsResponse response = null) #

Creates a new instance with the specified error category and message.

Parameters

errorCode DnsClientX.DnsQueryErrorCode requiredposition: 0
message System.String requiredposition: 1
inner System.Exception = null optionalposition: 2
response DnsClientX.DnsResponse = null optionalposition: 3

Properties

public DnsQueryErrorCode ErrorCode { get; } #

Normalized error category.

public DnsResponse Response { get; } #

Optional response associated with the failure.

{{ include "footer" }}