QAMessage * msg
msg The last message to acknowledge. All earlier unacknowledged messages are also acknowledged.
Acknowledges the given QAMessage instance and all unacknowledged messages received before the given message.
Note: when a QAMessage is acknowledged, its MessagePropertiesSTATUS 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.
True if and only if the operation succeeded.