DeleteMessage Method

Deletes the message specified.

Syntax

public void DeleteMessage(string queueId, string receiptHandle);
Public Sub DeleteMessage(ByVal QueueId As String, ByVal ReceiptHandle As String)

Remarks

Deletes the message specified by ReceiptHandle from the queue specified by QueueId.

Note: Unlike messages received from standard queues, messages received from FIFO queues can only be deleted within their VisibilityTimeout. Attempting to call DeleteMessage for a message received from a FIFO queue after its VisibilityTimeout has expired will cause the server to return an error.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 .NET Edition - Version 20.0 [Build 8155]