Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Cancels the message with the given message ID.
Public Sub CancelMessage(ByVal msgid As String)
public void CancelMessage(string msgid)
The message ID of the message to cancel.
Thrown if there is a problem canceling the message.
CancelMessage puts a message into a canceled state before it is transmitted. With the default delete rules of the QAnywhere
Agent, canceled messages will eventually be deleted from the message store.
CancelMessage will fail if the message is already in a final state, or if it has been transmitted to the central messaging
For more information about delete rules, see Message delete rules.