Serial Framework C++ Edition

◆ OnDisconnected()

__event void OnDisconnected ( void *  Sender,
const int  Reason,
const tstring &  Description 
)

The event fires when a remote client closes the OBEX session (disconnects).

Parameters
SenderThe object that initiated the event.
ReasonThe disconnection reason code.
DescriptionThe disconnect reason description.