The event fires when the server is closed.
- Parameters
-
| Sender | The object that initiated the event. |
| Reason | The disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason. |