Class ConnectionListenerStoppedEventArgs
Event arguments for when a server listener stopped.
Inherited Members
Namespace: Swan.Net
Syntax
public class ConnectionListenerStoppedEventArgs : EventArgs
Constructors
ConnectionListenerStoppedEventArgs(IPEndPoint, Exception)
Initializes a new instance of the ConnectionListenerStoppedEventArgs class.
Declaration
public ConnectionListenerStoppedEventArgs(IPEndPoint listenerEndPoint, Exception ex = null)
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. |