Cancels the message with the given message ID.
Visual Basic Public Sub CancelMessage( _ ByVal msgid As String _ )
C# public void CancelMessage( string msgid );
msgid The message ID of the message to cancel.
CancelMessage puts a message into a canceled state before it is transmitted. With the default delete rules of the QAnywhere Agent, canceled messages are eventually deleted from the message store.
CancelMessage fails if the message is already in a final state, or if it has been transmitted to the central messaging server.
For more information about delete rules, see Message delete rules.
QAException class - Thrown if there is a problem canceling the message.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |