Serial Framework C++ Edition

◆ Abort()

int Abort ( const tstring Description)

Aborts current operation executing.

Parameters
DescriptionAn optional text value that describes the abort reason or provides any other information for a user on the server size. If this parameter is an empty string the description will not be sent to a server.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Only Pun and Get operations can be aborted.