Class ConnectionListenerFailedEventArgs
Event arguments for when a server listener fails to start.
Inherited Members
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. |