Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
取消具有给定消息 ID 的消息。
boolean QAManagerBase.cancelMessage(String id) throws QAException
id 要取消的消息的消息 ID。
QAException 类 如果取消消息时存在问题,则抛出异常。
在消息传输前将其置于已取消状态。
当使用 QAnywhere 代理的缺省删除规则时,已取消的消息最终会从消息存储库中删除。
如果消息已经处于最终状态,或已经将消息传输到中央消息传递服务器,此操作将失败。