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

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere .NET API reference » QAnywhere .NET API for clients (.NET 2.0) » QAManagerBase interface

 

BrowseMessagesByID method

Browses the message with the given message ID.

Syntax
Visual Basic
Public Function BrowseMessagesByID( _
   ByVal msgid As String _
) As System.Collections.IEnumerator
C#
public System.Collections.IEnumerator BrowseMessagesByID(
   string  msgid
);
Parameters
  • msgid   The message id of the message.

Return value

An enumerator containing 0 or 1 messages.

Remarks

The message is just being browsed, so it cannot be acknowledged. Because browsing messages allocates native resources, you should call the Reset() method of the enumerator when you are done with it. If it is not called, the native resources are not freed until this QAManagerBase object is freed.

Use QAManagerBase.GetMessage to receive messages so they can be acknowledged.

See also