C# Class Amazon.SQS.Model.DeleteQueueRequest

Container for the parameters to the DeleteQueue operation. Deletes the queue specified by the QueueUrl, even if the queue is empty. If the specified queue doesn't exist, Amazon SQS returns a successful response.

Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available.

When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed, but after 60 seconds the queue and the message you sent no longer exist.

When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.

Inheritance: AmazonSQSRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeleteQueueRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeleteQueueRequest ( string queueUrl ) : System

Instantiates DeleteQueueRequest with the parameterized properties

Private Methods

Method Description
IsSetQueueUrl ( ) : bool

Method Details

DeleteQueueRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteQueueRequest ( ) : System
return System

DeleteQueueRequest() public method

Instantiates DeleteQueueRequest with the parameterized properties
public DeleteQueueRequest ( string queueUrl ) : System
queueUrl string The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive.
return System