Serial Framework C++ Edition

◆ NotifyClosed()

void NotifyClosed ( const int  Reason)
protected

Send a Disconnect notification message.

Parameters
ReasonThe disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason.