It places an Error message on to the queue rather than an EndDialog message. Books online states 'Service Broker drops any other messages for this conversation currently in the transmission queue.' which I take to mean that this message replaces any messages that haven't yet been sent.
The error number and message get placed in the message body.