TwclClientConnection.DoDisconnect(Integer) Method

Fires the OnDisconnect event.

Namespace: wclConnections
protected
 procedure DoDisconnect(const Reason: Integer); virtual;

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.