AcknowledgeUntil method

Acknowledges the given QAMessage instance and all unacknowledged messages received before the given message.

Syntax
Visual Basic
Public Sub AcknowledgeUntil( _
   ByVal msg As QAMessage _
)
C#
public void AcknowledgeUntil(
   QAMessage msg
);
Parameters
  • msg   The last message to acknowledge. All earlier unacknowledged messages are also acknowledged.

Remarks

Note: when a QAMessage is acknowledged, its MessageProperties.STATUS property changes to StatusCodes.RECEIVED. When a QAMessage status 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