Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere .NET API Reference » iAnywhere.QAnywhere.Client namespace (.NET 1.0) » QAManagerBase interface

BrowseMessagesBySelector method Next Page

CancelMessage method


Cancels the message with the given message ID.

Syntax

Visual Basic
Public Sub CancelMessage( _
ByVal msgid As String _
)

C#
public void CancelMessage(
string msgid
);

Parameters
Remarks

CancelMessage puts a message into a cancelled state before it is transmitted. With the default delete rules of the QAnywhere Agent, cancelled 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 server.

For more information about delete rules, see Message delete rules.

Exceptions