• DnsClient
  • Readme
  • Api Docs
  • MichaCo.net
This site uses "cookies" - small data files stored locally on your computer - to save information about your preferences when using this site. Learn More.

    Show / Hide Table of Contents

    Class DnsResponseException

    A DnsClient specific exception transporting additional information about the query causing this exception.

    Inheritance
    Object
    Exception
    DnsResponseException
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: DnsClient
    Assembly: DnsClient.dll
    Syntax
    public class DnsResponseException : Exception

    Constructors

    | Improve this Doc View Source

    DnsResponseException()

    Initializes a new instance of the DnsResponseException class with Code set to Unassigned.

    Declaration
    public DnsResponseException()
    | Improve this Doc View Source

    DnsResponseException(DnsResponseCode)

    Initializes a new instance of the DnsResponseException class with the standard error text for the given code.

    Declaration
    public DnsResponseException(DnsResponseCode code)
    Parameters
    Type Name Description
    DnsResponseCode code
    | Improve this Doc View Source

    DnsResponseException(DnsResponseCode, String)

    Initializes a new instance of the DnsResponseException class with a custom message and the given code.

    Declaration
    public DnsResponseException(DnsResponseCode code, string message)
    Parameters
    Type Name Description
    DnsResponseCode code
    String message
    | Improve this Doc View Source

    DnsResponseException(DnsResponseCode, String, Exception)

    Initializes a new instance of the DnsResponseException class with a custom message and the given code.

    Declaration
    public DnsResponseException(DnsResponseCode code, string message, Exception innerException)
    Parameters
    Type Name Description
    DnsResponseCode code
    String message
    Exception innerException
    | Improve this Doc View Source

    DnsResponseException(String)

    Initializes a new instance of the DnsResponseException class with Code set to Unassigned and a custom message.

    Declaration
    public DnsResponseException(string message)
    Parameters
    Type Name Description
    String message
    | Improve this Doc View Source

    DnsResponseException(String, Exception)

    Initializes a new instance of the DnsResponseException class with Code set to Unassigned and a custom message and inner Exception.

    Declaration
    public DnsResponseException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message
    Exception innerException

    Properties

    | Improve this Doc View Source

    AuditTrail

    Gets the audit trail if EnableAuditTrail. as set to true, null otherwise.

    Declaration
    public string AuditTrail { get; }
    Property Value
    Type Description
    String

    The audit trail.

    | Improve this Doc View Source

    Code

    Gets the response code.

    Declaration
    public DnsResponseCode Code { get; }
    Property Value
    Type Description
    DnsResponseCode

    The response code.

    | Improve this Doc View Source

    DnsError

    Gets a human readable error message.

    Declaration
    public string DnsError { get; }
    Property Value
    Type Description
    String

    The error message.

    See Also

    Exception
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net