Equinox Online Help - Language Reference - A to Z
DeleteMessage |
|
---|---|
Applies to | |
Syntax | DeleteMessage IdentifierExpression |
Action | [Statement] Deletes a message from the server message queue |
Scope | Usable anywhere. |
Notes | This statement deletes a queue message specified by the argument, IdentifierExpression. The identifier for any particular message may be determined using the MessageId function. |
Category | Messages |
See Also | DeleteAllMessages, DisplayMessage, MessageID, MessageMaxLength, MessageQueueSize, MessageRetrieved, MessagesWaiting, QueueMessage, RetrieveMessage |
Example | The following example deletes an old message from the server queue, if it has not been retrieved. If Not(MessageRetrieved (OldMessage)) ThenDeleteMessage OldMessageend if |