C# Class Amazon.SQS.Model.DeleteMessageBatchRequest

Container for the parameters to the DeleteMessageBatch operation.

Deletes multiple messages. This is a batch version of DeleteMessage. The result of the delete action on each message is reported individually in the response.

IMPORTANT: Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

NOTE:Some API actions take lists of parameters. These lists are specified using the param.n notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this:

&Attribute.1=this

&Attribute.2=that

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

Public Methods

Method Description
DeleteMessageBatchRequest ( ) : System

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

DeleteMessageBatchRequest ( string queueUrl, List entries ) : System

Instantiates DeleteMessageBatchRequest with the parameterized properties

Private Methods

Method Description
IsSetEntries ( ) : bool
IsSetQueueUrl ( ) : bool

Method Details

DeleteMessageBatchRequest() public method

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

DeleteMessageBatchRequest() public method

Instantiates DeleteMessageBatchRequest with the parameterized properties
public DeleteMessageBatchRequest ( string queueUrl, List entries ) : System
queueUrl string The URL of the Amazon SQS queue from which messages are deleted. Queue URLs are case-sensitive.
entries List A list of receipt handles for the messages to be deleted.
return System