Acknowledge method

Acknowledges that the client application successfully received a QAnywhere message.

Syntax
Visual Basic
Public Sub Acknowledge( _
   ByVal msg As QAMessage _
)
C#
public void Acknowledge(
   QAMessage msg
);
Parameters
  • msg   the message to acknowledge.

Remarks

When a QAMessage is acknowledged, its status property changes to StatusCodes.RECEIVED. When a QAMessage MessageProperties.STATUS message property changes to StatusCodes.RECEIVED, it can be deleted using the default delete rule.

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

Exceptions
See also