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)

iAnywhere.QAnywhere.Client namespace (.NET 1.0) Next Page

AcknowledgementMode enumeration


Indicates how messages should be acknowledged by QAnywhere client applications.

Syntax

Visual Basic
Public Enum AcknowledgementMode

C#
public enum AcknowledgementMode

Remarks

The implicit and explicit acknowledgement modes are assigned to a QAManager instance using the QAManager.Open(AcknowledgementMode) method.

For more information, see Initializing a QAnywhere API.

With implicit acknowledgement, messages are acknowledged as soon as they are received by a client application. With explicit acknowledgement, you must call one of the QAManager acknowledgement methods. The server propagates all status changes from client to client.

For more information, see Receiving messages synchronously and Receiving messages asynchronously.

Member name
Member nameDescription

EXPLICIT_ACKNOWLEDGEMENT

Indicates that received messages are acknowledged using one of the QAManager acknowledge methods.

IMPLICIT_ACKNOWLEDGEMENT

Indicates that all messages are acknowledged as soon as they are received by a client application. If you receive messages synchronously, messages are acknowledged as soon as the QAManagerBase.GetMessage(string) method returns. If you receive messages asynchronously, the message is acknowledged as soon as the event handling function returns.

TRANSACTIONAL

This mode indicates that messages are only acknowledged as part of the on going transaction. This mode is automatically assigned to QATransactionalManager instances.

See also