TwclClientConnection.NotifyClosed(Integer) Method
Send a Disconnect notification message.
protected procedure NotifyClosed(const Reason: Integer);
Parameters
- Reason
- Type: Integer
The disconnection code. If the parameter is wclErrors.WCL_E_SUCCESS the connection was closed by the
Disconnect
call. Otherwise indicates the disconnection reason.