Unosquare
    Show / Hide Table of Contents

    Class ConnectionListenerFailedEventArgs

    Event arguments for when a server listener fails to start.

    Inheritance
    Object
    EventArgs
    ConnectionListenerFailedEventArgs
    Inherited Members
    EventArgs.Empty
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan.Net
    Syntax
    public class ConnectionListenerFailedEventArgs : EventArgs

    Constructors

    ConnectionListenerFailedEventArgs(IPEndPoint, Exception)

    Initializes a new instance of the ConnectionListenerFailedEventArgs class.

    Declaration
    public ConnectionListenerFailedEventArgs(IPEndPoint listenerEndPoint, Exception ex)
    Parameters
    Type Name Description
    IPEndPoint listenerEndPoint

    The listener end point.

    Exception ex

    The ex.

    Exceptions
    Type Condition
    ArgumentNullException

    listenerEndPoint or ex.

    Properties

    EndPoint

    Gets the end point.

    Declaration
    public IPEndPoint EndPoint { get; }
    Property Value
    Type Description
    IPEndPoint

    The end point.

    Error

    Gets the error.

    Declaration
    public Exception Error { get; }
    Property Value
    Type Description
    Exception

    The error.

    See Also

    EventArgs

    Comments

    Back to top Copyright © 2017-2019 Unosquare