public void CloseConnection(int connectionNumber) { // all the logic is found in the TSConnection object. ConnxObject.CloseConnection(connectionNumber); }
public void CloseConnection(int connectionNumber) { try { // let the sibling method in the wrapped TSLibrary object contain the logic TSLib.CloseConnection(connectionNumber); } catch (Exception e) { ErrorMessage = e.Message; } }