Search Results for

    Show / Hide Table of Contents

    Class Dns.Resolved

    Result of a DNS resolution.

    Inheritance
    object
    Dns.Command
    Dns.Resolved
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public class Dns.Resolved : Dns.Command, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    Resolved(string, IEnumerable<IPAddress>, IEnumerable<IPAddress>)

    Creates a new resolved DNS entry.

    Declaration
    public Resolved(string name, IEnumerable<IPAddress> ipv4, IEnumerable<IPAddress> ipv6)
    Parameters
    Type Name Description
    string name

    The DNS name that was resolved.

    IEnumerable<IPAddress> ipv4

    The resolved IPv4 addresses.

    IEnumerable<IPAddress> ipv6

    The resolved IPv6 addresses.

    | Edit this page View Source

    Resolved(string, Exception)

    Declaration
    public Resolved(string name, Exception ex)
    Parameters
    Type Name Description
    string name
    Exception ex

    Properties

    | Edit this page View Source

    Addr

    The first resolved address, or throws if resolution failed.

    Declaration
    public IPAddress Addr { get; }
    Property Value
    Type Description
    IPAddress
    | Edit this page View Source

    Exception

    Declaration
    public Exception Exception { get; }
    Property Value
    Type Description
    Exception
    | Edit this page View Source

    Ipv4

    The resolved IPv4 addresses.

    Declaration
    public IEnumerable<IPAddress> Ipv4 { get; }
    Property Value
    Type Description
    IEnumerable<IPAddress>
    | Edit this page View Source

    Ipv6

    The resolved IPv6 addresses.

    Declaration
    public IEnumerable<IPAddress> Ipv6 { get; }
    Property Value
    Type Description
    IEnumerable<IPAddress>
    | Edit this page View Source

    IsSuccess

    Declaration
    public bool IsSuccess { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Name

    The DNS name that was resolved.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Create(string, IEnumerable<IPAddress>)

    Creates a new resolved DNS entry from a set of addresses.

    Declaration
    public static Dns.Resolved Create(string name, IEnumerable<IPAddress> addresses)
    Parameters
    Type Name Description
    string name

    The DNS name that was resolved.

    IEnumerable<IPAddress> addresses

    The resolved addresses.

    Returns
    Type Description
    Dns.Resolved

    A new Dns.Resolved instance.

    Implements

    INoSerializationVerificationNeeded

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET