Azure Integrator V2 - Online Help
Azure Integrator V2
Questions / Feedback?

ClearMessages Method

Clears all messages from the queue.

Syntax

[VB.NET]
Public Sub ClearMessages()
[C#]
public void ClearMessages();

Remarks

This method deletes all messages from the queue specified by QueueName.

Note that if a queue contains a large number of messages, the operation on the Azure server may time out before all messages have been deleted. In this case the Queue service will return status code 500 (Internal Server Error).

If the operation times out, call this method again until it succeeds to ensure that all messages have been deleted.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0