An event object that accompanies events fired to handlers configured in the Connection options which are signaled during specific Connection event points.
More...
|
| DisconnectionEvent (string host, int port, Exception cause) |
| Creates the immutable disconnection event object.
|
|
|
string | Host [get] |
| The host that the connection was established on.
|
|
int | Port [get] |
| The port on the remote host where the connection was established.
|
|
Exception | Cause [get] |
| The Exception that carries information on the cause of the connection loss. This value could be null if the connection dropped due to a normal close operation initiated locally.
|
|
An event object that accompanies events fired to handlers configured in the Connection options which are signaled during specific Connection event points.
◆ DisconnectionEvent()
Apache.Qpid.Proton.Client.DisconnectionEvent.DisconnectionEvent |
( |
string |
host, |
|
|
int |
port, |
|
|
Exception |
cause |
|
) |
| |
|
inline |
Creates the immutable disconnection event object.
- Parameters
-
host | The host where the connection was before it failed |
port | The port on the host where the connection occurred |
cause | The exception that lead to the disconnection |
The documentation for this class was generated from the following file:
- src/Proton.Client/Client/DisconnectionEvent.cs