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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere .NET API reference » QAnywhere .NET API for clients (.NET 2.0)

 

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 when 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 name Description

EXPLICIT_ACKNOWLEDGEMENT

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

IMPLICIT_ACKNOWLEDGEMENT

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

TRANSACTIONAL

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

See also