CreateQueueRequest Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the CreateQueue operation.

The CreateQueue action creates a new queue, or returns the URL of an existing one. When you request CreateQueue , you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues.

You may pass one or more attributes in the request. If you do not provide a value for any attribute, the queue will have the default value for that attribute. Permitted attributes are the same that can be set using SetQueueAttributes.

If you provide the name of an existing queue, a new queue isn't created. If the values of attributes provided with the request match up with those on the existing queue, the queue URL is returned. Otherwise, a QueueNameExists error is returned.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SQS.Model.CreateQueueRequest

Namespace: Amazon.SQS.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class CreateQueueRequest : AmazonWebServiceRequest
         IRequestEvents

The CreateQueueRequest type exposes the following members

Constructors

  Name Description
Public Method CreateQueueRequest()

Properties

  Name Description
Public Property Attributes A map of attributes with their corresponding values.
Public Property QueueName The name for the queue to be created.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8